python312Packages.lazr: update & refactor (#372858)
This commit is contained in:
+10
-10
@@ -1,7 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
fetchgit,
|
||||
setuptools,
|
||||
lazr-delegates,
|
||||
zope-interface,
|
||||
@@ -10,18 +10,18 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "lazr-config";
|
||||
version = "3.0";
|
||||
version = "3.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "lazr.config";
|
||||
inherit version;
|
||||
hash = "sha256-oU5PbMCa68HUCxdhWK6g7uIlLBQAO40O8LMcfFFMNkQ=";
|
||||
src = fetchgit {
|
||||
url = "https://git.launchpad.net/lazr.config";
|
||||
rev = "3c659114e8e947fbd46954336f5577351d786de9";
|
||||
hash = "sha256-eYJY4JRoqTMG4j1jyiYrI8xEKdJ+wQYVVU/6OqVIodk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
lazr-delegates
|
||||
zope-interface
|
||||
];
|
||||
@@ -38,10 +38,10 @@ buildPythonPackage rec {
|
||||
|
||||
pythonNamespaces = [ "lazr" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Create configuration schemas, and process and validate configurations";
|
||||
homepage = "https://launchpad.net/lazr.config";
|
||||
changelog = "https://git.launchpad.net/lazr.config/tree/NEWS.rst?h=${version}";
|
||||
license = licenses.lgpl3Only;
|
||||
license = lib.licenses.lgpl3Only;
|
||||
};
|
||||
}
|
||||
+7
-7
@@ -9,18 +9,18 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "lazr-delegates";
|
||||
version = "2.1.0";
|
||||
version = "2.1.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "lazr.delegates";
|
||||
pname = "lazr_delegates";
|
||||
inherit version;
|
||||
hash = "sha256-UNT7iHK5UuV6SOEmEOVQ+jBm7rV8bGx1tqUUJBi6wZw=";
|
||||
hash = "sha256-rs6yYW5Rtz8yf78SxOwrfXZwy4IL1eT2hRIV+3lsAtw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [ zope-interface ];
|
||||
dependencies = [ zope-interface ];
|
||||
|
||||
pythonImportsCheck = [ "lazr.delegates" ];
|
||||
|
||||
@@ -28,10 +28,10 @@ buildPythonPackage rec {
|
||||
|
||||
pythonNamespaces = [ "lazr" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Easily write objects that delegate behavior";
|
||||
homepage = "https://launchpad.net/lazr.delegates";
|
||||
changelog = "https://git.launchpad.net/lazr.delegates/tree/NEWS.rst?h=${version}";
|
||||
license = licenses.lgpl3Only;
|
||||
license = lib.licenses.lgpl3Only;
|
||||
};
|
||||
}
|
||||
@@ -1,7 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
isPy27,
|
||||
fetchPypi,
|
||||
distro,
|
||||
httplib2,
|
||||
@@ -16,17 +15,19 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "lazr.restfulclient";
|
||||
pname = "lazr-restfulclient";
|
||||
version = "0.14.6";
|
||||
|
||||
disabled = isPy27; # namespace is broken for python2
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
pname = "lazr.restfulclient";
|
||||
inherit version;
|
||||
hash = "sha256-Q/EqHTlIRjsUYgOMR7Qp3LXkLgun8uFlEbArpdKt/9s=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
distro
|
||||
httplib2
|
||||
oauthlib
|
||||
@@ -46,10 +47,13 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "lazr.restfulclient" ];
|
||||
|
||||
meta = with lib; {
|
||||
pythonNamespaces = [ "lazr" ];
|
||||
|
||||
meta = {
|
||||
description = "Programmable client library that takes advantage of the commonalities among";
|
||||
homepage = "https://launchpad.net/lazr.restfulclient";
|
||||
license = licenses.lgpl3;
|
||||
changelog = "https://git.launchpad.net/lazr.restfulclient/tree/NEWS.rst?h=${version}";
|
||||
license = lib.licenses.lgpl3Plus;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,28 +1,37 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
isPy27,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "lazr.uri";
|
||||
version = "1.0.6";
|
||||
|
||||
disabled = isPy27; # namespace is broken for python2
|
||||
pname = "lazr-uri";
|
||||
version = "1.0.7";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "5026853fcbf6f91d5a6b11ea7860a641fe27b36d4172c731f4aa16b900cf8464";
|
||||
pname = "lazr_uri";
|
||||
inherit version;
|
||||
hash = "sha256-7Qz28zPkUBFHUq+xzgwpnDasSxCQY+tQNUxPh/glo+4=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ setuptools ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
meta = with lib; {
|
||||
dependencies = [ setuptools ];
|
||||
|
||||
pythonImportsCheck = [ "lazr.uri" ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonNamespaces = [ "lazr" ];
|
||||
|
||||
meta = {
|
||||
description = "Self-contained, easily reusable library for parsing, manipulating";
|
||||
homepage = "https://launchpad.net/lazr.uri";
|
||||
license = licenses.lgpl3;
|
||||
changelog = "https://git.launchpad.net/lazr.uri/tree/NEWS.rst?h=${version}";
|
||||
license = lib.licenses.lgpl3Only;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -7147,9 +7147,9 @@ self: super: with self; {
|
||||
|
||||
layoutparser = callPackage ../development/python-modules/layoutparser { };
|
||||
|
||||
lazr-config = callPackage ../development/python-modules/lazr/config.nix { };
|
||||
lazr-config = callPackage ../development/python-modules/lazr-config { };
|
||||
|
||||
lazr-delegates = callPackage ../development/python-modules/lazr/delegates.nix { };
|
||||
lazr-delegates = callPackage ../development/python-modules/lazr-delegates { };
|
||||
|
||||
lazr-restfulclient = callPackage ../development/python-modules/lazr-restfulclient { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user