mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
2721442187
Enable tests by running nosetests during checkPhase.
23 lines
499 B
Nix
23 lines
499 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, nose }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "voluptuous";
|
|
version = "0.12.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1p5j3fgbpqj31fajkaisdrz10ah9667sijz4kp3m0sbgw6ag4kis";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|