zim packages: add a bunch more
the khanacademy one is taking ages to download...
This commit is contained in:
6
pkgs/by-name/zimPackages/alpinelinux_en_all_maxi.nix
Normal file
6
pkgs/by-name/zimPackages/alpinelinux_en_all_maxi.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{ mkVersionedHttpZim }: mkVersionedHttpZim {
|
||||||
|
owner = "other";
|
||||||
|
pname = "alpinelinux_en_all_maxi";
|
||||||
|
version = "2023-01";
|
||||||
|
hash = "sha256-zNShZOPEF3iBnP2Fdmr+Dpu8mjMf+5FJl1f3px5+nPs=";
|
||||||
|
}
|
6
pkgs/by-name/zimPackages/archlinux_en_all_maxi.nix
Normal file
6
pkgs/by-name/zimPackages/archlinux_en_all_maxi.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{ mkVersionedHttpZim }: mkVersionedHttpZim {
|
||||||
|
owner = "other";
|
||||||
|
pname = "archlinux_en_all_maxi";
|
||||||
|
version = "2022-12";
|
||||||
|
hash = "sha256-Bj8AocoWTgDyjVlUSfDvNCMg6vKzOyJTFgY6qmRL7AY=";
|
||||||
|
}
|
6
pkgs/by-name/zimPackages/bitcoin_en_all_maxi.nix
Normal file
6
pkgs/by-name/zimPackages/bitcoin_en_all_maxi.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{ mkVersionedHttpZim }: mkVersionedHttpZim {
|
||||||
|
owner = "other";
|
||||||
|
pname = "bitcoin_en_all_maxi";
|
||||||
|
version = "2021-03";
|
||||||
|
hash = "sha256-W+GVrWfZ1bS+zKjPDnVeAM8t6XLMPIfF7qntT9jO5+8=";
|
||||||
|
}
|
6
pkgs/by-name/zimPackages/devdocs_en_nix.nix
Normal file
6
pkgs/by-name/zimPackages/devdocs_en_nix.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{ mkVersionedHttpZim }: mkVersionedHttpZim {
|
||||||
|
owner = "devdocs";
|
||||||
|
pname = "devdocs_en_nix";
|
||||||
|
version = "2025-01";
|
||||||
|
hash = "sha256-njenhXV+6fu6LPZXaqfWLipCcF89m0CZPqzVIxJXWTU=";
|
||||||
|
}
|
6
pkgs/by-name/zimPackages/gentoo_en_all_maxi.nix
Normal file
6
pkgs/by-name/zimPackages/gentoo_en_all_maxi.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{ mkVersionedHttpZim }: mkVersionedHttpZim {
|
||||||
|
owner = "other";
|
||||||
|
pname = "gentoo_en_all_maxi";
|
||||||
|
version = "2021-03";
|
||||||
|
hash = "sha256-8AuVOKt19LsmcEuVfo97csp+TbUCXE+6V/tJHzPc9AI=";
|
||||||
|
}
|
5
pkgs/by-name/zimPackages/khanacademy_en_all.nix
Normal file
5
pkgs/by-name/zimPackages/khanacademy_en_all.nix
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
{ mkVersionedHttpZim }: mkVersionedHttpZim {
|
||||||
|
owner = "other";
|
||||||
|
pname = "khanacademy_en_all";
|
||||||
|
version = "2023-03";
|
||||||
|
}
|
@@ -24,6 +24,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
"https://download.kiwix.org/zim/${prefix}${tail}"
|
"https://download.kiwix.org/zim/${prefix}${tail}"
|
||||||
"https://dumps.wikimedia.org/other/kiwix/zim/${prefix}${tail}"
|
"https://dumps.wikimedia.org/other/kiwix/zim/${prefix}${tail}"
|
||||||
"https://mirror.accum.se/mirror/wikimedia.org/other/kiwix/zim/${prefix}${tail}"
|
"https://mirror.accum.se/mirror/wikimedia.org/other/kiwix/zim/${prefix}${tail}"
|
||||||
|
"https://mirror.download.kiwix.org/zim/.hidden/${prefix}${tail}"
|
||||||
];
|
];
|
||||||
inherit hash;
|
inherit hash;
|
||||||
};
|
};
|
||||||
|
@@ -0,0 +1,6 @@
|
|||||||
|
{ mkVersionedHttpZim }: mkVersionedHttpZim {
|
||||||
|
owner = "other";
|
||||||
|
pname = "openstreetmap-wiki_en_all_maxi";
|
||||||
|
version = "2023-05";
|
||||||
|
hash = "sha256-Wi1+33ZGvpMfOwMJqp9yFdvJrCFcSQBBxYhQfra13bI=";
|
||||||
|
}
|
@@ -6,6 +6,7 @@
|
|||||||
# - https://mirror.accum.se/mirror/wikimedia.org/other/kiwix/zim
|
# - https://mirror.accum.se/mirror/wikimedia.org/other/kiwix/zim
|
||||||
# - https://dumps.wikimedia.org/other/kiwix/zim
|
# - https://dumps.wikimedia.org/other/kiwix/zim
|
||||||
# - https://download.kiwix.org/zim
|
# - https://download.kiwix.org/zim
|
||||||
|
# - https://mirror.download.kiwix.org/zim/.hidden/
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
newScope,
|
newScope,
|
||||||
@@ -13,7 +14,20 @@
|
|||||||
lib.recurseIntoAttrs (lib.makeScope newScope (self: with self; {
|
lib.recurseIntoAttrs (lib.makeScope newScope (self: with self; {
|
||||||
mkVersionedHttpZim = callPackage ./mkVersionedHttpZim.nix { };
|
mkVersionedHttpZim = callPackage ./mkVersionedHttpZim.nix { };
|
||||||
|
|
||||||
|
alpinelinux_en_all_maxi = callPackage ./alpinelinux_en_all_maxi.nix { };
|
||||||
|
archlinux_en_all_maxi = callPackage ./archlinux_en_all_maxi.nix { };
|
||||||
|
bitcoin_en_all_maxi = callPackage ./bitcoin_en_all_maxi.nix { };
|
||||||
|
devdocs_en_nix = callPackage ./devdocs_en_nix.nix { };
|
||||||
|
gentoo_en_all_maxi = callPackage ./gentoo_en_all_maxi.nix { };
|
||||||
|
khanacademy_en_all = callPackage ./khanacademy_en_all.nix { };
|
||||||
|
openstreetmap-wiki_en_all_maxi = callPackage ./openstreetmap-wiki_en_all_maxi.nix { };
|
||||||
|
psychonautwiki_en_all_maxi = callPackage ./psychonautwiki_en_all_maxi.nix { };
|
||||||
|
rationalwiki_en_all_maxi = callPackage ./rationalwiki_en_all_maxi.nix { };
|
||||||
wikipedia_en_100 = callPackage ./wikipedia_en_100.nix { };
|
wikipedia_en_100 = callPackage ./wikipedia_en_100.nix { };
|
||||||
wikipedia_en_all_maxi = callPackage ./wikipedia_en_all_maxi.nix { };
|
wikipedia_en_all_maxi = callPackage ./wikipedia_en_all_maxi.nix { };
|
||||||
wikipedia_en_all_mini = callPackage ./wikipedia_en_all_mini.nix { };
|
wikipedia_en_all_mini = callPackage ./wikipedia_en_all_mini.nix { };
|
||||||
|
zimgit-food-preparation_en = callPackage ./zimgit-food-preparation_en.nix { };
|
||||||
|
zimgit-medicine_en = callPackage ./zimgit-medicine_en.nix { };
|
||||||
|
zimgit-post-disaster_en = callPackage ./zimgit-post-disaster_en.nix { };
|
||||||
|
zimgit-water_en = callPackage ./zimgit-water_en.nix { };
|
||||||
}))
|
}))
|
||||||
|
8
pkgs/by-name/zimPackages/psychonautwiki_en_all_maxi.nix
Normal file
8
pkgs/by-name/zimPackages/psychonautwiki_en_all_maxi.nix
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# TODO: switch to non-dev once official package is published
|
||||||
|
# - <https://github.com/openzim/zim-requests/issues/634>
|
||||||
|
{ mkVersionedHttpZim }: mkVersionedHttpZim {
|
||||||
|
owner = "dev";
|
||||||
|
pname = "psychonautwiki_en_all_maxi";
|
||||||
|
version = "2024-12";
|
||||||
|
hash = "sha256-1CfR/7QeAbzEnWwueoeUOukw05IYTimDPIaiTddUV4k=";
|
||||||
|
}
|
6
pkgs/by-name/zimPackages/rationalwiki_en_all_maxi.nix
Normal file
6
pkgs/by-name/zimPackages/rationalwiki_en_all_maxi.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{ mkVersionedHttpZim }: mkVersionedHttpZim {
|
||||||
|
owner = "other";
|
||||||
|
pname = "rationalwiki_en_all_maxi";
|
||||||
|
version = "2021-03";
|
||||||
|
hash = "sha256-dVULy9qBvUWx6Okx4eF+4wKUb4KuiNoTLAOTo39a/G4=";
|
||||||
|
}
|
6
pkgs/by-name/zimPackages/zimgit-food-preparation_en.nix
Normal file
6
pkgs/by-name/zimPackages/zimgit-food-preparation_en.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{ mkVersionedHttpZim }: mkVersionedHttpZim {
|
||||||
|
owner = "other";
|
||||||
|
pname = "zimgit-food-preparation_en";
|
||||||
|
version = "2024-08";
|
||||||
|
hash = "sha256-nGuBmmj+KnRWQq1DqbTh/nnYl28jmr2ErjjUwtJg7RQ=";
|
||||||
|
}
|
6
pkgs/by-name/zimPackages/zimgit-medicine_en.nix
Normal file
6
pkgs/by-name/zimPackages/zimgit-medicine_en.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{ mkVersionedHttpZim }: mkVersionedHttpZim {
|
||||||
|
owner = "other";
|
||||||
|
pname = "zimgit-medicine_en";
|
||||||
|
version = "2024-08";
|
||||||
|
hash = "sha256-qGwxuT6YAKrizYEu8Yy/nAh6dTd4TGL7wlnbf5+dGMA=";
|
||||||
|
}
|
6
pkgs/by-name/zimPackages/zimgit-post-disaster_en.nix
Normal file
6
pkgs/by-name/zimPackages/zimgit-post-disaster_en.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{ mkVersionedHttpZim }: mkVersionedHttpZim {
|
||||||
|
owner = "other";
|
||||||
|
pname = "zimgit-post-disaster_en";
|
||||||
|
version = "2024-05";
|
||||||
|
hash = "sha256-C6m7NYt2i5TrDXkgdS/jVr8JfeUU7mGEPzpNpszhdPg=";
|
||||||
|
}
|
6
pkgs/by-name/zimPackages/zimgit-water_en.nix
Normal file
6
pkgs/by-name/zimPackages/zimgit-water_en.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{ mkVersionedHttpZim }: mkVersionedHttpZim {
|
||||||
|
owner = "other";
|
||||||
|
pname = "zimgit-water_en";
|
||||||
|
version = "2024-08";
|
||||||
|
hash = "sha256-OSx7yXCkT93WHdF/bqvx9OIZNvLVwnyDCT4dxHXLVrY=";
|
||||||
|
}
|
Reference in New Issue
Block a user