2017-10-01 12:08:24 +01:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage
|
|
|
|
, semantic-version, boto3, flask, docutils, requests
|
2017-08-29 03:11:44 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "tiros";
|
|
|
|
name = "${pname}-${version}";
|
2017-10-01 12:08:24 +01:00
|
|
|
version = "1.0.39";
|
2017-08-29 03:11:44 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-10-01 12:08:24 +01:00
|
|
|
sha256 = "10wh84lpl7k8i69hlxwrzp2lln63w2afv9l7ij7r3lqjwd0z0skr";
|
2017-08-29 03:11:44 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -E -i "s/'([[:alnum:].-_]+)[=><]{2}[[:digit:].]*'/'\\1'/g" setup.py
|
|
|
|
sed -i "s/'datetime',//" setup.py
|
|
|
|
'';
|
|
|
|
|
2017-10-01 12:08:24 +01:00
|
|
|
propagatedBuildInputs = [ semantic-version boto3 flask docutils requests ];
|
2017-08-29 03:11:44 +01:00
|
|
|
}
|