nixpkgs/pkgs/development/python-modules/lazr-uri/default.nix
2021-09-14 09:26:49 +00:00

28 lines
605 B
Nix

{ lib
, buildPythonPackage
, isPy27
, fetchPypi
, setuptools
}:
buildPythonPackage rec {
pname = "lazr.uri";
version = "1.0.6";
disabled = isPy27; # namespace is broken for python2
src = fetchPypi {
inherit pname version;
sha256 = "5026853fcbf6f91d5a6b11ea7860a641fe27b36d4172c731f4aa16b900cf8464";
};
propagatedBuildInputs = [ setuptools ];
meta = with lib; {
description = "A self-contained, easily reusable library for parsing, manipulating";
homepage = "https://launchpad.net/lazr.uri";
license = licenses.lgpl3;
maintainers = [ maintainers.marsam ];
};
}