mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 17:10:48 +00:00
python3Packages.pipdate: 0.5.2 -> 0.5.5
This commit is contained in:
parent
ca5d520a0f
commit
a895c83b03
|
@ -2,23 +2,23 @@
|
|||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, isPy27
|
||||
, appdirs
|
||||
, importlib-metadata
|
||||
, requests
|
||||
, pytest
|
||||
, rich
|
||||
, setuptools
|
||||
, wheel
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pipdate";
|
||||
version = "0.5.2";
|
||||
version = "0.5.5";
|
||||
format = "pyproject";
|
||||
disabled = isPy27; # abandoned
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "507065231f2d50b6319d483432cba82aadad78be21b7a2969b5881ed8dee9ab4";
|
||||
sha256 = "03hr9i691cpg9q2xc1xr4lpd90xs8rba0xjh6qmc1vg7lgcdgbaa";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ wheel ];
|
||||
|
@ -26,25 +26,19 @@ buildPythonPackage rec {
|
|||
propagatedBuildInputs = [
|
||||
appdirs
|
||||
requests
|
||||
rich
|
||||
setuptools
|
||||
] ++ lib.optionals (pythonOlder "3.8") [
|
||||
importlib-metadata
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
HOME=$(mktemp -d) pytest test/test_pipdate.py
|
||||
'';
|
||||
|
||||
# tests require network access
|
||||
# Tests require network access and pythonImportsCheck requires configuration file
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "pip update helpers";
|
||||
homepage = "https://github.com/nschloe/pipdate";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ costrouc ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue