2018-07-19 16:36:05 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, six
|
|
|
|
, attrs
|
|
|
|
, pytest
|
|
|
|
, hypothesis
|
|
|
|
, pretend
|
|
|
|
, arpeggio
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "parver";
|
2020-05-09 16:24:49 +00:00
|
|
|
version = "0.3.0";
|
2018-07-19 16:36:05 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-09 16:24:49 +00:00
|
|
|
sha256 = "0a6jp17c1ag6b9yp5xgy9wvznk3g0v2f8gpwkcwxpyc9ygk98zdm";
|
2018-07-19 16:36:05 +00: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;
|
|
|
|
};
|
|
|
|
}
|