2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, nose }:
|
2017-12-21 21:06:11 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "voluptuous";
|
2021-01-06 23:11:20 +00:00
|
|
|
version = "0.12.1";
|
2017-12-21 21:06:11 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-01-06 23:11:20 +00:00
|
|
|
sha256 = "0js4avmhmmys78z376xk1w9305hq5nad8zqrnksgmpc1j90p4db6";
|
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
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-12-21 21:06:11 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|