mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
pythonPackages.tiros: init at 1.0.38
This commit is contained in:
parent
ea23f8bb07
commit
d25134b196
26
pkgs/development/python-modules/tiros/default.nix
Normal file
26
pkgs/development/python-modules/tiros/default.nix
Normal file
@ -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 ];
|
||||
}
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user