2969ca571a
GitOrigin-RevId: 257cbbcd3ab7bd96f5d24d50adc807de7c82e06d
22 lines
499 B
Nix
22 lines
499 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, nose }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "voluptuous";
|
|
version = "0.12.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0js4avmhmmys78z376xk1w9305hq5nad8zqrnksgmpc1j90p4db6";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|