2018-07-19 18:36:05 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, six
|
|
|
|
, attrs
|
|
|
|
, pytest
|
|
|
|
, hypothesis
|
|
|
|
, pretend
|
|
|
|
, arpeggio
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "parver";
|
2018-12-16 13:51:33 +01:00
|
|
|
version = "0.2.0";
|
2018-07-19 18:36:05 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-12-16 13:51:33 +01:00
|
|
|
sha256 = "1nylv880zxnm9waw32y8dmdc435jv5gjcajv8qahafm7v1prgcmq";
|
2018-07-19 18:36:05 +02: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;
|
|
|
|
};
|
|
|
|
}
|