3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/voluptuous/default.nix
Martin Weinelt 2721442187 python3Packages.voluptuous: 0.11.7 -> 0.12.0
Enable tests by running nosetests during checkPhase.
2020-10-09 12:11:05 +02:00

23 lines
499 B
Nix

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