Merge pull request #237092 from NixOS/revert-237054-keyutils-pytest-runner
Revert "python310Packages.keyutils: remove"
This commit is contained in:
commit
a12a82e90b
3 changed files with 32 additions and 1 deletions
28
pkgs/development/python-modules/keyutils/default.nix
Normal file
28
pkgs/development/python-modules/keyutils/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, keyutils, pytest-runner, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "keyutils";
|
||||
version = "0.6";
|
||||
|
||||
# github version comes bundled with tests
|
||||
src = fetchFromGitHub {
|
||||
owner = "sassoftware";
|
||||
repo = "python-keyutils";
|
||||
rev = version;
|
||||
sha256 = "0pfqfr5xqgsqkxzrmj8xl2glyl4nbq0irs0k6ik7iy3gd3mxf5g1";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace '"pytest-runner"' ""
|
||||
'';
|
||||
|
||||
buildInputs = [ keyutils ];
|
||||
nativeCheckInputs = [ pytest pytest-runner ];
|
||||
|
||||
meta = {
|
||||
description = "A set of python bindings for keyutils";
|
||||
homepage = "https://github.com/sassoftware/python-keyutils";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ primeos ];
|
||||
};
|
||||
}
|
|
@ -157,7 +157,6 @@ mapAliases ({
|
|||
jupyter_server = jupyter-server; # added 2023-01-05
|
||||
Kajiki = kajiki; # added 2023-02-19
|
||||
Keras = keras; # added 2021-11-25
|
||||
keyutils = throw "keyutils no longer builds and is unmaintained"; # added 2023-06-10
|
||||
ldap = python-ldap; # added 2022-09-16
|
||||
lammps-cython = throw "lammps-cython no longer builds and is unmaintained"; # added 2021-07-04
|
||||
logilab_astng = throw "logilab-astng has not been released since 2013 and is unmaintained"; # added 2022-11-29
|
||||
|
|
|
@ -5451,6 +5451,10 @@ self: super: with self; {
|
|||
|
||||
keystoneauth1 = callPackage ../development/python-modules/keystoneauth1 { };
|
||||
|
||||
keyutils = callPackage ../development/python-modules/keyutils {
|
||||
inherit (pkgs) keyutils;
|
||||
};
|
||||
|
||||
kicad = toPythonModule (pkgs.kicad.override {
|
||||
python3 = python;
|
||||
}).src;
|
||||
|
|
Loading…
Reference in a new issue