package.nix (712B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 }: 6 7 python3Packages.buildPythonApplication rec { 8 pname = "systemdlint"; 9 version = "1.4.0"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "priv-kweihmann"; 14 repo = "systemdlint"; 15 tag = version; 16 hash = "sha256-cJpZkqj4IWxofFWju/s8K3JoCVigSQHpN3o1+rG1/iM="; 17 }; 18 19 build-system = with python3Packages; [ setuptools ]; 20 21 dependencies = with python3Packages; [ 22 systemdunitparser 23 anytree 24 ]; 25 26 meta = { 27 description = "Systemd Unitfile Linter"; 28 homepage = "https://github.com/priv-kweihmann/systemdlint"; 29 license = lib.licenses.bsd2; 30 maintainers = [ lib.maintainers.sikmir ]; 31 mainProgram = "systemdlint"; 32 }; 33 }
