mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-23 17:12:27 +00:00
python312Packages.linuxpy: init at 0.20.0 (#353823)
This commit is contained in:
44
pkgs/development/python-modules/linuxpy/default.nix
Normal file
44
pkgs/development/python-modules/linuxpy/default.nix
Normal file
@@ -0,0 +1,44 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
ward,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "linuxpy";
|
||||
version = "0.20.0";
|
||||
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-mNWmzl52GEZUEL3q8cP59qxMduG1ijgsvGoD5ddSG94=";
|
||||
};
|
||||
|
||||
pythonImportsCheck = [ "linuxpy" ];
|
||||
|
||||
# Checks depend on WARD testing framework which is broken
|
||||
doCheck = false;
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
ward
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Human friendly interface to Linux subsystems using Python";
|
||||
homepage = "https://github.com/tiagocoutinho/linuxpy";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with lib.maintainers; [ kekschen ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
@@ -7492,6 +7492,8 @@ self: super: with self; {
|
||||
|
||||
linuxfd = callPackage ../development/python-modules/linuxfd { };
|
||||
|
||||
linuxpy = callPackage ../development/python-modules/linuxpy { };
|
||||
|
||||
lion-pytorch = callPackage ../development/python-modules/lion-pytorch { };
|
||||
|
||||
liquidctl = callPackage ../development/python-modules/liquidctl { };
|
||||
|
||||
Reference in New Issue
Block a user