Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 645 B view raw
1{ stdenv, buildPythonPackage, fetchPypi 2, pyparsing, six, pytest, pretend }: 3 4buildPythonPackage rec { 5 pname = "packaging"; 6 version = "19.0"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "0c98a5d0be38ed775798ece1b9727178c4469d9c3b4ada66e8e6b7849f8732af"; 11 }; 12 13 propagatedBuildInputs = [ pyparsing six ]; 14 15 checkInputs = [ pytest pretend ]; 16 17 checkPhase = '' 18 py.test tests 19 ''; 20 21 meta = with stdenv.lib; { 22 description = "Core utilities for Python packages"; 23 homepage = https://github.com/pypa/packaging; 24 license = [ licenses.bsd2 licenses.asl20 ]; 25 maintainers = with maintainers; [ bennofs ]; 26 }; 27}