3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/voluptuous/default.nix
2021-01-25 18:31:47 +01:00

23 lines
489 B
Nix

{ lib, buildPythonPackage, fetchPypi, nose }:
buildPythonPackage rec {
pname = "voluptuous";
version = "0.12.1";
src = fetchPypi {
inherit pname version;
sha256 = "0js4avmhmmys78z376xk1w9305hq5nad8zqrnksgmpc1j90p4db6";
};
checkInputs = [ nose ];
checkPhase = ''
nosetests
'';
meta = with lib; {
description = "Voluptuous is a Python data validation library";
homepage = "http://alecthomas.github.io/voluptuous/";
license = licenses.bsd3;
};
}