Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 22 lines 489 B view raw
1{ lib, buildPythonPackage, fetchPypi, nose }: 2 3buildPythonPackage rec { 4 pname = "voluptuous"; 5 version = "0.12.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "0js4avmhmmys78z376xk1w9305hq5nad8zqrnksgmpc1j90p4db6"; 10 }; 11 12 checkInputs = [ nose ]; 13 checkPhase = '' 14 nosetests 15 ''; 16 17 meta = with lib; { 18 description = "Voluptuous is a Python data validation library"; 19 homepage = "http://alecthomas.github.io/voluptuous/"; 20 license = licenses.bsd3; 21 }; 22}