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 | |
parent | 4b0b110a090532b6dceb7292dfcb4804cd4c8563 (diff) | |
download | nixlib-46139347fa759767b22465ed3f78eca0659479cf.tar nixlib-46139347fa759767b22465ed3f78eca0659479cf.tar.gz nixlib-46139347fa759767b22465ed3f78eca0659479cf.tar.bz2 nixlib-46139347fa759767b22465ed3f78eca0659479cf.tar.lz nixlib-46139347fa759767b22465ed3f78eca0659479cf.tar.xz nixlib-46139347fa759767b22465ed3f78eca0659479cf.tar.zst nixlib-46139347fa759767b22465ed3f78eca0659479cf.zip |
trueseeing: refactor
Diffstat (limited to 'pkgs')
-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 ad9fd643a355..8284a802bd88 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; |