2017-12-21 21:06:11 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, nose }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "voluptuous";
|
2020-10-07 19:59:10 +01:00
|
|
|
version = "0.12.0";
|
2017-12-21 21:06:11 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-07 19:59:10 +01:00
|
|
|
sha256 = "1p5j3fgbpqj31fajkaisdrz10ah9667sijz4kp3m0sbgw6ag4kis";
|
2017-12-21 21:06:11 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ nose ];
|
2020-10-07 19:59:10 +01:00
|
|
|
checkPhase = ''
|
|
|
|
nosetests
|
|
|
|
'';
|
2017-12-21 21:06:11 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Voluptuous is a Python data validation library";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://alecthomas.github.io/voluptuous/";
|
2017-12-21 21:06:11 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|