diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2024-01-01 11:45:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-01 11:45:29 +0100 |
commit | 46139347fa759767b22465ed3f78eca0659479cf (patch) | |
tree | 1ee6965de049790b752d261c2556e54ee4e2a2b6 /pkgs/tools/security/trueseeing | |
parent | 4b0b110a090532b6dceb7292dfcb4804cd4c8563 (diff) |
trueseeing: refactor
Diffstat (limited to 'pkgs/tools/security/trueseeing')
-rw-r--r-- | pkgs/tools/security/trueseeing/default.nix | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/pkgs/tools/security/trueseeing/default.nix b/pkgs/tools/security/trueseeing/default.nix index ad9fd643a355d..8284a802bd88e 100644 --- a/pkgs/tools/security/trueseeing/default.nix +++ b/pkgs/tools/security/trueseeing/default.nix @@ -6,15 +6,20 @@ python3.pkgs.buildPythonApplication rec { pname = "trueseeing"; version = "2.1.9"; - format = "pyproject"; + pyproject = true; src = fetchFromGitHub { owner = "alterakey"; - repo = pname; + repo = "trueseeing"; rev = "refs/tags/v${version}"; hash = "sha256-g5OqdnPtGGV4wBwPRAjH3lweguwlfVcgpNLlq54OHKA="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace "attrs~=21.4" "attrs>=21.4" + ''; + nativeBuildInputs = with python3.pkgs; [ flit-core ]; @@ -26,15 +31,8 @@ python3.pkgs.buildPythonApplication rec { lxml pypubsub pyyaml - docker ]; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace "attrs~=21.4" "attrs>=21.4" \ - --replace "docker~=5.0.3" "docker" - ''; - # Project has no tests doCheck = false; |