Skip to content

Commit

Permalink
python312Packages.lxns: init at 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
justDeeevin committed Jan 16, 2025
1 parent 5ecb91a commit 7852b74
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
35 changes: 35 additions & 0 deletions pkgs/development/python-modules/lxns/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
meson-python,
}:

buildPythonPackage rec {
pname = "lxns";
version = "0.1.0";
pyproject = true;

src = fetchFromGitHub {
owner = "igo95862";
repo = "python-lxns";
rev = version;
hash = "sha256-O7B2Do+b70i00HDxWgIV1yuNIx5lmpoZmHeA6yS2nLY=";
};

build-system = [
meson-python
];

pythonImportsCheck = [
"lxns"
];

meta = {
description = "Python library to control Linux kernel namespaces";
homepage = "https://github.com/igo95862/python-lxns";
changelog = "https://github.com/igo95862/python-lxns/blob/${src.rev}/CHANGELOG.md";
license = with lib.licenses; [ mit mpl20 ];
maintainers = with lib.maintainers; [ justdeeevin ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7763,6 +7763,8 @@ self: super: with self; {

lxml-stubs = callPackage ../development/python-modules/lxml-stubs { };

lxns = callPackage ../development/python-modules/lxns { };

lyricwikia = callPackage ../development/python-modules/lyricwikia { };

lz4 = callPackage ../development/python-modules/lz4 { };
Expand Down

0 comments on commit 7852b74

Please sign in to comment.