mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 12:14:10 +00:00
23 lines
489 B
Nix
23 lines
489 B
Nix
{ lib, buildPythonPackage, fetchPypi, nose }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "voluptuous";
|
|
version = "0.12.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0js4avmhmmys78z376xk1w9305hq5nad8zqrnksgmpc1j90p4db6";
|
|
};
|
|
|
|
checkInputs = [ nose ];
|
|
checkPhase = ''
|
|
nosetests
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Voluptuous is a Python data validation library";
|
|
homepage = "http://alecthomas.github.io/voluptuous/";
|
|
license = licenses.bsd3;
|
|
};
|
|
}
|