9 buildPythonPackage rec {
10 pname = "karton-config-extractor";
12 format = "setuptools";
14 disabled = pythonOlder "3.7";
16 src = fetchFromGitHub {
17 owner = "CERT-Polska";
19 rev = "refs/tags/v${version}";
20 hash = "sha256-X2g/wgWLIY2ZIwH1l83EApyoeYQU5/MWq5S0qmYz+CA=";
23 propagatedBuildInputs = [
29 substituteInPlace requirements.txt \
30 --replace "malduck==4.1.0" "malduck"
33 # Project has no tests
36 pythonImportsCheck = [
37 "karton.config_extractor"
41 description = "Static configuration extractor for the Karton framework";
42 mainProgram = "karton-config-extractor";
43 homepage = "https://github.com/CERT-Polska/karton-config-extractor";
44 changelog = "https://github.com/CERT-Polska/karton-config-extractor/releases/tag/v${version}";
45 license = with licenses; [ bsd3 ];
46 maintainers = with maintainers; [ fab ];