mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
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
|
@ -1,13 +1,54 @@
|
||||||
{ buildPythonPackage, fetchPypi, lazr_delegates }:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, setuptools
|
||||||
|
, lazr-delegates
|
||||||
|
, zope_interface
|
||||||
|
, pytestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "lazr.config";
|
pname = "lazr-config";
|
||||||
version = "2.2.3";
|
version = "3.0";
|
||||||
|
pyproject = true;
|
||||||
propagatedBuildInputs = [ lazr_delegates ];
|
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
pname = "lazr.config";
|
||||||
sha256 = "b74a73f8b63e6dc6732fc1f3d88e2f236596ddf089ef6e1794ece060e8cfabe1";
|
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 {
|
buildPythonPackage rec {
|
||||||
pname = "lazr.delegates";
|
pname = "lazr-delegates";
|
||||||
version = "2.0.4";
|
version = "2.1.0";
|
||||||
|
pyproject = true;
|
||||||
propagatedBuildInputs = [ nose zope_interface ];
|
|
||||||
|
|
||||||
doCheck = false; # cannot import name 'ClassType' from 'types'
|
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
pname = "lazr.delegates";
|
||||||
sha256 = "1rdnl85j9ayp8n85l0ciip621j9dcziz5qnmv2m7krgwgcn31vfx";
|
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_i18n
|
||||||
flufl_lock
|
flufl_lock
|
||||||
gunicorn
|
gunicorn
|
||||||
lazr_config
|
lazr-config
|
||||||
passlib
|
passlib
|
||||||
requests
|
requests
|
||||||
sqlalchemy
|
sqlalchemy
|
||||||
|
|
|
@ -216,6 +216,8 @@ mapAliases ({
|
||||||
Keras = keras; # added 2021-11-25
|
Keras = keras; # added 2021-11-25
|
||||||
ldap = python-ldap; # added 2022-09-16
|
ldap = python-ldap; # added 2022-09-16
|
||||||
lammps-cython = throw "lammps-cython no longer builds and is unmaintained"; # added 2021-07-04
|
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
|
lazy_imports = lazy-imports; # added 2023-10-13
|
||||||
lektor = throw "lektor has been promoted to a top-level attribute"; # added 2023-08-01
|
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
|
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 { };
|
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 { };
|
lazr-restfulclient = callPackage ../development/python-modules/lazr-restfulclient { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue