diff --git a/nix/sources.json b/nix/sources.json
index f50382e350d69a872b507e34a1033d418d7caa2f..0a97dc5e0d3c4e009e724ff7c8942385d3d9676e 100644
--- a/nix/sources.json
+++ b/nix/sources.json
@@ -874,48 +874,6 @@ "type": "tarball",
"url": "https://github.com/tumic0/QtPBFImagePlugin-styles/archive/577bb119641c80e1736815ed70a0b99c942c63e0.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"branch": "master",
"builtin": false,
"date": "2019-06-20T23:15:30Z",
"description": "A dictionary for Linux, based on C++/Qt development",
"homepage": "https://github.com/rekols/redict",
"owner": "rekols",
"repo": "redict",
"rev": "525aac01ed5fc0f74f8393dc5b5b3bb57c9b0c5f",
"sha256": "1zlad1bmlyy4hirm93f0744c98y9hg11b32ym06rsax719qj2rjl",
"type": "tarball",
"url": "https://github.com/rekols/redict/archive/525aac01ed5fc0f74f8393dc5b5b3bb57c9b0c5f.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
"branch": "master",
"builtin": false,
"date": "2017-11-16T17:47:11Z",
"description": "Python implementation of the S2 geometry library",
"homepage": "http://s2sphere.sidewalklabs.com/",
"owner": "sidewalklabs",
"repo": "s2sphere",
"rev": "d1d067e8c06e5fbaf0cc0158bade947b4a03a438",
"sha256": "0jidg5bg6qpiji8j2r8s8abxxs08ldkc7rdplhbnfw6k4axlh4za",
"type": "tarball",
"url": "https://github.com/sidewalklabs/s2sphere/archive/d1d067e8c06e5fbaf0cc0158bade947b4a03a438.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
"branch": "master",
"builtin": false,
"date": "2021-01-07T02:11:57Z",
"description": "Automatically exported from code.google.com/p/stardict-3",
"homepage": "https://github.com/huzheng001/stardict-3",
"owner": "huzheng001",
"repo": "stardict-3",
"rev": "c551c8dd0d8abaa93968dcfb432963671d537807",
"sha256": "18j4r125mcyf9iy01092s2fr80xij7lh40s6l969k3jx77xkpfxc",
"type": "tarball",
"url": "https://github.com/huzheng001/stardict-3/archive/c551c8dd0d8abaa93968dcfb432963671d537807.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
"supermercado": {
"branch": "master",
"builtin": false,
@@ -998,20 +956,6 @@ "rev": "28f8b95ccb8055cf785382f71d11aa9bbd35dab4",
"sha256": "0457467drkiwxc3fwrz63j37jgczz23b2zs9qf3d6w7dj5qq4212",
"type": "tarball",
"url": "https://github.com/woboq/tr/archive/28f8b95ccb8055cf785382f71d11aa9bbd35dab4.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
"branch": "master",
"builtin": false,
"date": "2021-03-06T07:20:36Z",
"description": "The last online dictionary framework you need",
"homepage": "https://pypi.org/project/zdict/",
"owner": "zdict",
"repo": "zdict",
"rev": "75bb41aebbe150fb874aa577a955c5d547fa0f69",
"sha256": "081h6wz11kd9dr00vdig3662j69gbv9fk79c58gisxpjddawf7w6",
"type": "tarball",
"url": "https://github.com/zdict/zdict/archive/75bb41aebbe150fb874aa577a955c5d547fa0f69.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}
}
diff --git a/pkgs/default.nix b/pkgs/default.nix
index dd8e1cdcee3020e7875ddff8d42d297bd0ee0faa..e66122e9b3a3eec6f1c86e02d880cad7108dd976 100644
--- a/pkgs/default.nix
+++ b/pkgs/default.nix
@@ -140,9 +140,7 @@ gt-bash-client = callPackage ./dict/gt-bash-client { };
lsdreader = callPackage ./dict/lsdreader { };
odict = callPackage ./dict/odict { };
opendict = callPackage ./dict/opendict { };
inherit sources;
stardict-tools = callPackage ./dict/stardict-tools { };
tatoebatools = callPackage ./dict/tatoebatools { };
zdict = callPackage ./dict/zdict { };
diff --git a/pkgs/development/python-modules/s2sphere/default.nix b/pkgs/development/python-modules/s2sphere/default.nix
index 7d4bdcc09a5f19702f7a63290ab364b08d824efe..3a95578fe7e55114a32ec1c8753a91e121e4d343 100644
--- a/pkgs/development/python-modules/s2sphere/default.nix
+++ b/pkgs/development/python-modules/s2sphere/default.nix
@@ -1,10 +1,15 @@
-{ lib, python3Packages, sources }:
+{ lib, fetchFromGitHub, python3Packages }:
python3Packages.buildPythonPackage {
propagatedBuildInputs = with python3Packages; [ future ];
@@ -13,7 +18,8 @@
pythonImportsCheck = [ "s2sphere" ];
meta = with lib; {
license = licenses.mit;
maintainers = [ maintainers.sikmir ];
};
diff --git a/pkgs/dict/redict/default.nix b/pkgs/dict/redict/default.nix
index 0a5090e830e4a98ae3d8715069badac416ee4577..1ba2a9d53e29246151b2fd680a709e2c5cc697ad 100644
--- a/pkgs/dict/redict/default.nix
+++ b/pkgs/dict/redict/default.nix
@@ -1,6 +1,7 @@
{ mkDerivation
, stdenv
, lib
+, fetchFromGitHub
, pkg-config
, qmake
, qtbase
@@ -11,15 +12,19 @@ , qtx11extras
, libX11
, libXext
, libXtst
-, sources
, withI18n ? true
}:
mkDerivation {
nativeBuildInputs = [ qmake pkg-config ]
++ lib.optional withI18n qttools;
@@ -44,7 +49,8 @@ "APPDIR=${placeholder "out"}/share/applications"
];
meta = with lib; {
license = licenses.gpl3;
maintainers = [ maintainers.sikmir ];
platforms = platforms.unix;
diff --git a/pkgs/dict/stardict-tools/default.nix b/pkgs/dict/stardict-tools/default.nix
index 7545c8f2b5e07f9f914e9d031727a77f78586223..b8a64f199f690075f3e4760482266b44340b1ea9 100644
--- a/pkgs/dict/stardict-tools/default.nix
+++ b/pkgs/dict/stardict-tools/default.nix
@@ -1,5 +1,6 @@
{ lib
, stdenv
+, fetchFromGitHub
, autoconf
, automake
, libtool
@@ -8,14 +9,18 @@ , gtk3
, libmysqlclient
, libxml2
, pcre
-, sources
}:
stdenv.mkDerivation {
pname = "stardict-tools";
nativeBuildInputs = [
autoconf
@@ -51,7 +56,8 @@
enableParallelBuilding = true;
meta = with lib; {
license = licenses.gpl3Plus;
maintainers = [ maintainers.sikmir ];
platforms = platforms.unix;
diff --git a/pkgs/dict/zdict/default.nix b/pkgs/dict/zdict/default.nix
index 96e28e9d2efab51f20fd2a55f6cd2f8deabf20d4..667730e4ab742abd0ea91854bbf99a62a76bd2ba 100644
--- a/pkgs/dict/zdict/default.nix
+++ b/pkgs/dict/zdict/default.nix
@@ -1,12 +1,17 @@
-{ lib, python37Packages, sources }:
+{ lib, fetchFromGitHub, python3Packages }:
-python37Packages.buildPythonApplication {
+python3Packages.buildPythonApplication rec {
beautifulsoup4
peewee
requests
@@ -16,17 +21,18 @@
postPatch = "sed -i 's/==.*//' requirements.txt";
buildPhase = ''
'';
doCheck = false;
installPhase = ''
'';
meta = with lib; {
license = licenses.gpl3;
maintainers = [ maintainers.sikmir ];
platforms = platforms.unix;
application/octet-stream
This content has been proxied by September (3851b).