altdns: refactor
This commit is contained in:
parent
998dac69c6
commit
0358cfe0b5
1 changed files with 10 additions and 10 deletions
|
@ -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/
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue