mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
af637e8489
Release: https://github.com/rhmdnd/pycompliance/releases/tag/0.0.1 Co-authored-by: Florian <florian.brandes@posteo.de>
34 lines
723 B
Nix
34 lines
723 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|