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