about summary refs log tree commit diff
path: root/pkgs/by-name/al
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2024-04-25 12:36:48 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2024-04-26 09:41:41 +0200
commit0358cfe0b517606c935626324f5dee2fe66b95fb (patch)
treed0cb4384bf8f7a0a87af0726ff9929d11af92028 /pkgs/by-name/al
parent998dac69c66351d4c6877955c83040af8c4c39b9 (diff)
altdns: refactor
Diffstat (limited to 'pkgs/by-name/al')
-rw-r--r--pkgs/by-name/al/altdns/package.nix20
1 files changed, 10 insertions, 10 deletions
diff --git a/pkgs/by-name/al/altdns/package.nix b/pkgs/by-name/al/altdns/package.nix
index 7b019f35109b8..839173efa64d6 100644
--- a/pkgs/by-name/al/altdns/package.nix
+++ b/pkgs/by-name/al/altdns/package.nix
@@ -5,7 +5,7 @@
 
 python3.pkgs.buildPythonApplication {
   pname = "altdns";
-  version = "unstable-2021-09-09";
+  version = "1.0.2-unstable-2021-09-09";
   pyproject = true;
 
   src = fetchFromGitHub {
@@ -15,23 +15,23 @@ python3.pkgs.buildPythonApplication {
     hash = "sha256-ElY6AZ7IBnOh7sRWNSQNmq7AYGlnjvYRn8/U+29BwWA=";
   };
 
-  nativeBuildInputs = with python3.pkgs; [
+  prePatch = ''
+    substituteInPlace requirements.txt \
+      --replace-fail "argparse" ""
+    substituteInPlace setup.py \
+      --replace-fail "argparse" ""
+  '';
+
+  build-system = with python3.pkgs; [
     setuptools
   ];
 
-  propagatedBuildInputs = with python3.pkgs; [
+  dependencies = with python3.pkgs; [
     dnspython
     termcolor
     tldextract
   ];
 
-  prePatch = ''
-  substituteInPlace requirements.txt \
-    --replace "argparse" ""
-  substituteInPlace setup.py \
-    --replace "argparse" ""
-  '';
-
   postInstall = ''
     cp $src/words.txt $out/
   '';