commit 866d3fac9195faf327f3cf42ffaf0a6b470e546f
parent b51656e201cc6fdea06183511fb4ac7068d2a877
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date: Sat, 13 Nov 2021 00:18:47 +0300
Up
Diffstat:
1 file changed, 2 insertions(+), 11 deletions(-)
diff --git a/pkgs/linguistics/zdict/default.nix b/pkgs/linguistics/zdict/default.nix
@@ -2,34 +2,25 @@
python3Packages.buildPythonApplication rec {
pname = "zdict";
- version = "3.8.2";
+ version = "4.0.5";
src = fetchFromGitHub {
owner = "zdict";
repo = pname;
rev = version;
- hash = "sha256-H+VcqEtQWLC1qkhvjfMwQTnRZeQdF+buvt9OD6ooCXQ=";
+ hash = "sha256-uiCD2ZuVP1Pu7r/uOEctjMhsupxm++i0kiHxU9DNp9M=";
};
propagatedBuildInputs = with python3Packages; [
beautifulsoup4
peewee
requests
- setuptools
];
postPatch = "sed -i 's/==.*//' requirements.txt";
- buildPhase = ''
- ${python3Packages.python.interpreter} setup.py build
- '';
-
doCheck = false;
- installPhase = ''
- ${python3Packages.python.interpreter} setup.py install --skip-build --prefix=$out
- '';
-
meta = with lib; {
description = "The last online dictionary framework you need";
inherit (src.meta) homepage;