1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-01 01:51:24 +00:00
nixpkgs/pkgs/development/python-modules/tiros/default.nix
2017-08-28 22:11:44 -04:00

27 lines
523 B
Nix

{ stdenv
, fetchPypi
, buildPythonPackage
, semantic-version
, boto3
, flask
, docutils
}:
buildPythonPackage rec {
pname = "tiros";
name = "${pname}-${version}";
version = "1.0.38";
src = fetchPypi {
inherit pname version;
sha256 = "0k668z9gb5vh304gysynj4rxgi24wy2vl4a33dnwkri2g6db3s4n";
};
patchPhase = ''
sed -E -i "s/'([[:alnum:].-_]+)[=><]{2}[[:digit:].]*'/'\\1'/g" setup.py
sed -i "s/'datetime',//" setup.py
'';
propagatedBuildInputs = [ semantic-version boto3 flask docutils ];
}