Files
2026-07-15 14:04:39 -04:00

42 lines
968 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
karton-core,
malduck,
}:
buildPythonPackage rec {
pname = "karton-config-extractor";
version = "2.3.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "CERT-Polska";
repo = "karton-config-extractor";
tag = "v${version}";
hash = "sha256-a9wSw25q0blgAkR2s3brW7jGHJSLjx1yXjMmhMJNUFk=";
};
propagatedBuildInputs = [
karton-core
malduck
];
pythonRelaxDeps = [ "malduck" ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "karton.config_extractor" ];
meta = {
description = "Static configuration extractor for the Karton framework";
mainProgram = "karton-config-extractor";
homepage = "https://github.com/CERT-Polska/karton-config-extractor";
changelog = "https://github.com/CERT-Polska/karton-config-extractor/releases/tag/${src.tag}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fab ];
};
}