2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, six, unidecode, nose, yanc }:
|
2018-10-27 17:04:03 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "preggy";
|
2019-12-10 18:07:41 +00:00
|
|
|
version = "1.4.4";
|
2018-10-27 17:04:03 +01:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ six unidecode ];
|
|
|
|
checkInputs = [ nose yanc ];
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-10 18:07:41 +00:00
|
|
|
sha256 = "25ba803afde4f35ef543a60915ced2e634926235064df717c3cb3e4e3eb4670c";
|
2018-10-27 17:04:03 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
nosetests .
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-27 17:04:03 +01:00
|
|
|
description = "Assertion library for Python";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://heynemann.github.io/preggy/";
|
2018-10-27 17:04:03 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jluttine ];
|
|
|
|
};
|
|
|
|
}
|