depot/third_party/nixpkgs/pkgs/development/python-modules/preggy/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

26 lines
628 B
Nix

{ lib, buildPythonPackage, fetchPypi, six, unidecode, nose, yanc }:
buildPythonPackage rec {
pname = "preggy";
version = "1.4.4";
format = "setuptools";
propagatedBuildInputs = [ six unidecode ];
nativeCheckInputs = [ nose yanc ];
src = fetchPypi {
inherit pname version;
sha256 = "25ba803afde4f35ef543a60915ced2e634926235064df717c3cb3e4e3eb4670c";
};
checkPhase = ''
nosetests .
'';
meta = with lib; {
description = "Assertion library for Python";
homepage = "http://heynemann.github.io/preggy/";
license = licenses.mit;
maintainers = with maintainers; [ jluttine ];
};
}