python312Packages.linuxpy: init at 0.20.0 (#353823)

authored by Arne Keller and committed by GitHub f6013ee8 d3123588

+46
+44
pkgs/development/python-modules/linuxpy/default.nix
···
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchPypi, 5 + pytestCheckHook, 6 + setuptools, 7 + ward, 8 + pythonOlder, 9 + }: 10 + 11 + buildPythonPackage rec { 12 + pname = "linuxpy"; 13 + version = "0.20.0"; 14 + 15 + pyproject = true; 16 + 17 + disabled = pythonOlder "3.9"; 18 + 19 + src = fetchPypi { 20 + inherit pname version; 21 + sha256 = "sha256-mNWmzl52GEZUEL3q8cP59qxMduG1ijgsvGoD5ddSG94="; 22 + }; 23 + 24 + pythonImportsCheck = [ "linuxpy" ]; 25 + 26 + # Checks depend on WARD testing framework which is broken 27 + doCheck = false; 28 + nativeCheckInputs = [ 29 + pytestCheckHook 30 + ward 31 + ]; 32 + 33 + nativeBuildInputs = [ 34 + setuptools 35 + ]; 36 + 37 + meta = with lib; { 38 + description = "Human friendly interface to Linux subsystems using Python"; 39 + homepage = "https://github.com/tiagocoutinho/linuxpy"; 40 + license = licenses.gpl3Plus; 41 + maintainers = with lib.maintainers; [ kekschen ]; 42 + platforms = lib.platforms.linux; 43 + }; 44 + }
+2
pkgs/top-level/python-packages.nix
··· 7492 7493 linuxfd = callPackage ../development/python-modules/linuxfd { }; 7494 7495 lion-pytorch = callPackage ../development/python-modules/lion-pytorch { }; 7496 7497 liquidctl = callPackage ../development/python-modules/liquidctl { };
··· 7492 7493 linuxfd = callPackage ../development/python-modules/linuxfd { }; 7494 7495 + linuxpy = callPackage ../development/python-modules/linuxpy { }; 7496 + 7497 lion-pytorch = callPackage ../development/python-modules/lion-pytorch { }; 7498 7499 liquidctl = callPackage ../development/python-modules/liquidctl { };