42 lines
828 B
Nix
42 lines
828 B
Nix
{
|
|
buildPythonPackage,
|
|
click,
|
|
fetchFromGitHub,
|
|
lib,
|
|
pytestCheckHook,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pygnuutils";
|
|
version = "0.1.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "matan1008";
|
|
repo = "pygnuutils";
|
|
tag = "v${version}";
|
|
hash = "sha256-RySqq1V6ad3W53Rp/ZweMPnbM7C3RDm3b6KV/FKQyW0=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
click
|
|
];
|
|
|
|
pythonImportsCheck = [ "pygnuutils" ];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/matan1008/pygnuutils/releases/tag/${src.tag}";
|
|
description = "Pure python implementation for GNU utils";
|
|
homepage = "https://github.com/matan1008/pygnuutils";
|
|
license = lib.licenses.gpl3Only;
|
|
maintainers = [ lib.maintainers.dotlambda ];
|
|
};
|
|
}
|