Skip to content

Commit

Permalink
Merge pull request #335134 from Tochiaha/pycompliance
Browse files Browse the repository at this point in the history
python312Packages.pycompliace: init at 0.0.1
  • Loading branch information
gador authored Aug 16, 2024
2 parents 2ca4d54 + af637e8 commit a84cbd3
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
33 changes: 33 additions & 0 deletions pkgs/development/python-modules/pycompliance/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
buildPythonPackage,
fetchFromGitHub,
hatchling,
lib,
unittestCheckHook,
}:

buildPythonPackage rec {
pname = "pycompliance";
version = "0.0.1";
pyproject = true;

src = fetchFromGitHub {
owner = "rhmdnd";
repo = "pycompliance";
rev = version;
hash = "sha256-gCrKbKqRDlh9q9bETQ9NEPbf+40WKF1ltfBy6LYjlVw=";
};

build-system = [ hatchling ];

nativeCheckInputs = [ unittestCheckHook ];

pythonImportsCheck = [ "pycompliance" ];

meta = {
description = "Simply library to represent compliance benchmarks as tree structures";
homepage = "https://github.com/rhmdnd/pycompliance";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ tochiaha ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10310,6 +10310,8 @@ self: super: with self; {

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

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

pycomposefile = callPackage ../development/python-modules/pycomposefile { };
pycontrol4 = callPackage ../development/python-modules/pycontrol4 { };

Expand Down

0 comments on commit a84cbd3

Please sign in to comment.