Merge pull request #265243 from natsukium/lazr
python311Packages.lazr-config: 2.2.3 -> 3.0; python311Packages.lazr-delegates: 2.0.4 -> 2.1.0; rename
This commit is contained in:
commit
58ad2344cb
5 changed files with 93 additions and 19 deletions
|
@ -1,13 +1,54 @@
|
|||
{ buildPythonPackage, fetchPypi, lazr_delegates }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools
|
||||
, lazr-delegates
|
||||
, zope_interface
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "lazr.config";
|
||||
version = "2.2.3";
|
||||
|
||||
propagatedBuildInputs = [ lazr_delegates ];
|
||||
pname = "lazr-config";
|
||||
version = "3.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "b74a73f8b63e6dc6732fc1f3d88e2f236596ddf089ef6e1794ece060e8cfabe1";
|
||||
pname = "lazr.config";
|
||||
inherit version;
|
||||
hash = "sha256-oU5PbMCa68HUCxdhWK6g7uIlLBQAO40O8LMcfFFMNkQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
lazr-delegates
|
||||
zope_interface
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"lazr.config"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
# change the directory to avoid a namespace-related problem
|
||||
# ModuleNotFoundError: No module named 'lazr.delegates'
|
||||
preCheck = ''
|
||||
cd $out
|
||||
'';
|
||||
|
||||
pythonNamespaces = [
|
||||
"lazr"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
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;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,15 +1,46 @@
|
|||
{ buildPythonPackage, fetchPypi, nose, zope_interface }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools
|
||||
, zope_interface
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "lazr.delegates";
|
||||
version = "2.0.4";
|
||||
|
||||
propagatedBuildInputs = [ nose zope_interface ];
|
||||
|
||||
doCheck = false; # cannot import name 'ClassType' from 'types'
|
||||
pname = "lazr-delegates";
|
||||
version = "2.1.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1rdnl85j9ayp8n85l0ciip621j9dcziz5qnmv2m7krgwgcn31vfx";
|
||||
pname = "lazr.delegates";
|
||||
inherit version;
|
||||
hash = "sha256-UNT7iHK5UuV6SOEmEOVQ+jBm7rV8bGx1tqUUJBi6wZw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
zope_interface
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"lazr.delegates"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonNamespaces = [
|
||||
"lazr"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
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;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -29,7 +29,7 @@ buildPythonPackage rec {
|
|||
flufl_i18n
|
||||
flufl_lock
|
||||
gunicorn
|
||||
lazr_config
|
||||
lazr-config
|
||||
passlib
|
||||
requests
|
||||
sqlalchemy
|
||||
|
|
|
@ -216,6 +216,8 @@ mapAliases ({
|
|||
Keras = keras; # added 2021-11-25
|
||||
ldap = python-ldap; # added 2022-09-16
|
||||
lammps-cython = throw "lammps-cython no longer builds and is unmaintained"; # added 2021-07-04
|
||||
lazr_config = lazr-config; # added 2023-11-03
|
||||
lazr_delegates = lazr-delegates; # added 2023-11-03
|
||||
lazy_imports = lazy-imports; # added 2023-10-13
|
||||
lektor = throw "lektor has been promoted to a top-level attribute"; # added 2023-08-01
|
||||
logilab_astng = throw "logilab-astng has not been released since 2013 and is unmaintained"; # added 2022-11-29
|
||||
|
|
|
@ -6046,9 +6046,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.nix { };
|
||||
|
||||
lazr_delegates = callPackage ../development/python-modules/lazr/delegates.nix { };
|
||||
lazr-delegates = callPackage ../development/python-modules/lazr/delegates.nix { };
|
||||
|
||||
lazr-restfulclient = callPackage ../development/python-modules/lazr-restfulclient { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue