3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pipdate/default.nix

41 lines
690 B
Nix
Raw Normal View History

2019-05-20 15:54:11 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, appdirs
, requests
, pytest
}:
buildPythonPackage rec {
pname = "pipdate";
2019-12-19 19:31:17 +00:00
version = "0.3.5";
2019-05-20 15:54:11 +01:00
src = fetchPypi {
inherit pname version;
2019-12-19 19:31:17 +00:00
sha256 = "240c0f270ddb7470ad7b8c8fba4106e3dbd8817a370624fd8c32cf19155c9547";
2019-05-20 15:54:11 +01:00
};
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";
2019-05-20 15:54:11 +01:00
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}