2018-07-19 17:36:05 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, six
|
|
|
|
, attrs
|
|
|
|
, pytest
|
|
|
|
, hypothesis
|
|
|
|
, pretend
|
|
|
|
, arpeggio
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "parver";
|
2020-10-25 09:06:54 +00:00
|
|
|
version = "0.3.1";
|
2018-07-19 17:36:05 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-25 09:06:54 +00:00
|
|
|
sha256 = "c902e0653bcce927cc156a7fd9b3a51924cbce3bf3d0bfd49fc282bfd0c5dfd3";
|
2018-07-19 17:36:05 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six attrs arpeggio ];
|
|
|
|
checkInputs = [ pytest hypothesis pretend ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "parver allows parsing and manipulation of PEP 440 version numbers.";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
};
|
|
|
|
}
|