Files
nixpkgs/pkgs/development/python-modules/karton-config-extractor/default.nix
T
Robert Schütz 1a04744f74 treewide: remove superfluous disabled
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:

    pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
    for f in $(find -name '*.nix'); do
        grep -q "$pattern" "$f" || continue
        sed -i "/$pattern/d" "$f"
        if [ $(grep -c pythonOlder "$f") == 1 ]; then
            sed -i '/^\s*pythonOlder,\s*$/d' "$f"
        fi
        nixfmt "$f"
    done
2026-01-11 09:34:20 -08:00

42 lines
978 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 = with lib.licenses; [ bsd3 ];
maintainers = with lib.maintainers; [ fab ];
};
}