lol

Merge pull request #237092 from NixOS/revert-237054-keyutils-pytest-runner

Revert "python310Packages.keyutils: remove"

authored by

Fabian Affolter and committed by
GitHub
a12a82e9 083b4e95

+32 -1
+28
pkgs/development/python-modules/keyutils/default.nix
··· 1 + { lib, buildPythonPackage, fetchFromGitHub, keyutils, pytest-runner, pytest }: 2 + 3 + buildPythonPackage rec { 4 + pname = "keyutils"; 5 + version = "0.6"; 6 + 7 + # github version comes bundled with tests 8 + src = fetchFromGitHub { 9 + owner = "sassoftware"; 10 + repo = "python-keyutils"; 11 + rev = version; 12 + sha256 = "0pfqfr5xqgsqkxzrmj8xl2glyl4nbq0irs0k6ik7iy3gd3mxf5g1"; 13 + }; 14 + 15 + postPatch = '' 16 + substituteInPlace setup.py --replace '"pytest-runner"' "" 17 + ''; 18 + 19 + buildInputs = [ keyutils ]; 20 + nativeCheckInputs = [ pytest pytest-runner ]; 21 + 22 + meta = { 23 + description = "A set of python bindings for keyutils"; 24 + homepage = "https://github.com/sassoftware/python-keyutils"; 25 + license = lib.licenses.asl20; 26 + maintainers = with lib.maintainers; [ primeos ]; 27 + }; 28 + }
-1
pkgs/top-level/python-aliases.nix
··· 157 157 jupyter_server = jupyter-server; # added 2023-01-05 158 158 Kajiki = kajiki; # added 2023-02-19 159 159 Keras = keras; # added 2021-11-25 160 - keyutils = throw "keyutils no longer builds and is unmaintained"; # added 2023-06-10 161 160 ldap = python-ldap; # added 2022-09-16 162 161 lammps-cython = throw "lammps-cython no longer builds and is unmaintained"; # added 2021-07-04 163 162 logilab_astng = throw "logilab-astng has not been released since 2013 and is unmaintained"; # added 2022-11-29
+4
pkgs/top-level/python-packages.nix
··· 5451 5451 5452 5452 keystoneauth1 = callPackage ../development/python-modules/keystoneauth1 { }; 5453 5453 5454 + keyutils = callPackage ../development/python-modules/keyutils { 5455 + inherit (pkgs) keyutils; 5456 + }; 5457 + 5454 5458 kicad = toPythonModule (pkgs.kicad.override { 5455 5459 python3 = python; 5456 5460 }).src;