Skip to content

Commit

Permalink
pythonPackages.tiros: init at 1.0.38
Browse files Browse the repository at this point in the history
  • Loading branch information
copumpkin committed Aug 29, 2017
1 parent ea23f8b commit d25134b
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
26 changes: 26 additions & 0 deletions pkgs/development/python-modules/tiros/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{ 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 ];
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23074,6 +23074,8 @@ in {
};
};

tiros = callPackage ../development/python-modules/tiros { };

# Tkinter/tkinter is part of the Python standard library.
# The Python interpreters in Nixpkgs come without tkinter by default.
# To make the module available, we make it available as any other
Expand Down

0 comments on commit d25134b

Please sign in to comment.