2020-02-22 09:20:00 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, isPy27
|
|
|
|
, fetchPypi
|
|
|
|
, setuptools
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "lazr.uri";
|
2020-06-25 09:58:02 +01:00
|
|
|
version = "1.0.4";
|
2020-02-22 09:20:00 +00:00
|
|
|
|
|
|
|
disabled = isPy27; # namespace is broken for python2
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-25 09:58:02 +01:00
|
|
|
sha256 = "1griz2r0vhi9k91wfhlx5cx7y3slkfyzyqldaa9i0zp850iqz0q2";
|
2020-02-22 09:20:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|