Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, isPy27 4, fetchPypi 5, setuptools 6}: 7 8buildPythonPackage rec { 9 pname = "lazr.uri"; 10 version = "1.0.6"; 11 12 disabled = isPy27; # namespace is broken for python2 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "5026853fcbf6f91d5a6b11ea7860a641fe27b36d4172c731f4aa16b900cf8464"; 17 }; 18 19 propagatedBuildInputs = [ setuptools ]; 20 21 meta = with lib; { 22 description = "A self-contained, easily reusable library for parsing, manipulating"; 23 homepage = "https://launchpad.net/lazr.uri"; 24 license = licenses.lgpl3; 25 maintainers = [ maintainers.marsam ]; 26 }; 27}