mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
26 lines
605 B
Nix
26 lines
605 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, six, unidecode, nose, yanc }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "preggy";
|
|
version = "1.4.4";
|
|
|
|
propagatedBuildInputs = [ six unidecode ];
|
|
checkInputs = [ nose yanc ];
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "25ba803afde4f35ef543a60915ced2e634926235064df717c3cb3e4e3eb4670c";
|
|
};
|
|
|
|
checkPhase = ''
|
|
nosetests .
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Assertion library for Python";
|
|
homepage = http://heynemann.github.io/preggy/;
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ jluttine ];
|
|
};
|
|
}
|