pythonPackages.pipdate: init at 0.3.2
This commit is contained in:
parent
e94d857373
commit
bec3cfaec3
40
pkgs/development/python-modules/pipdate/default.nix
Normal file
40
pkgs/development/python-modules/pipdate/default.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, appdirs
|
||||
, requests
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pipdate";
|
||||
version = "0.3.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "a27f64d13269adfd8594582f5a62c9f2151b426e701afdfc3b4f4019527b4121";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
appdirs
|
||||
requests
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
HOME=$(mktemp -d) pytest test/test_pipdate.py
|
||||
'';
|
||||
|
||||
# tests require network access
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "pip update helpers";
|
||||
homepage = https://github.com/nschloe/pipdate;
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
@ -3706,6 +3706,8 @@ in {
|
||||
glibcLocales = pkgs.glibcLocales;
|
||||
};
|
||||
|
||||
pipdate = callPackage ../development/python-modules/pipdate { };
|
||||
|
||||
pika = callPackage ../development/python-modules/pika { };
|
||||
|
||||
pika-pool = callPackage ../development/python-modules/pika-pool { };
|
||||
|
Loading…
x
Reference in New Issue
Block a user