2018-07-19 18:36:05 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, six
|
|
|
|
, attrs
|
|
|
|
, pytest
|
|
|
|
, hypothesis
|
|
|
|
, pretend
|
|
|
|
, arpeggio
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "parver";
|
2019-01-02 22:30:37 +01:00
|
|
|
version = "0.2.1";
|
2018-07-19 18:36:05 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-01-02 22:30:37 +01:00
|
|
|
sha256 = "0jzyylcmjxb0agc4fpdnzdnv2ajvp99rs9pz7qcklnhlmy8scdqv";
|
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;
|
|
|
|
};
|
|
|
|
}
|