Files
nixpkgs/pkgs/by-name/sr/sr2t/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

41 lines
812 B
Nix

{
lib,
python3,
fetchFromGitLab,
}:
python3.pkgs.buildPythonApplication rec {
pname = "sr2t";
version = "0.0.26";
pyproject = true;
src = fetchFromGitLab {
owner = "0bs1d1an";
repo = "sr2t";
rev = "refs/tags/${version}";
hash = "sha256-BPsYnKBTxt5WUd2+WumMdVi8p6iryOWG2MjI97qbaCw=";
};
build-system = with python3.pkgs; [ hatchling ];
dependencies = with python3.pkgs; [
prettytable
pyyaml
setuptools
xlsxwriter
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "sr2t" ];
meta = with lib; {
description = "Tool to convert scanning reports to a tabular format";
homepage = "https://gitlab.com/0bs1d1an/sr2t";
license = licenses.gpl3Only;
maintainers = with maintainers; [ fab ];
mainProgram = "sr2t";
};
}