mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 09:44:18 +00:00
jawiki-all-titles-in-ns0: init at 0-unstable-2024-09-11
This commit is contained in:
parent
633055a2bd
commit
392ec6ad7a
48
pkgs/by-name/ja/jawiki-all-titles-in-ns0/package.nix
Normal file
48
pkgs/by-name/ja/jawiki-all-titles-in-ns0/package.nix
Normal file
@ -0,0 +1,48 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
stdenvNoCC,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "jawiki-all-titles-in-ns0";
|
||||
version = "0-unstable-2024-09-11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "musjj";
|
||||
repo = "jawiki-archive";
|
||||
rev = "d205f63665e351ea853edc72157f14daa22a227f";
|
||||
hash = "sha256-Jj2vH8UMhgSzWv+RnOipnVNSdeOF6jttcLN/kVYa4D4=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir $out
|
||||
cp jawiki-latest-all-titles-in-ns0.gz $out/jawiki-all-titles-in-ns0.gz
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [
|
||||
"--version"
|
||||
"branch"
|
||||
];
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "A jawiki dump list of page titles in main namespace";
|
||||
homepage = "https://dumps.wikimedia.org/backup-index.html";
|
||||
license = with lib.licenses; [
|
||||
fdl13Only
|
||||
cc-by-sa-30
|
||||
];
|
||||
maintainers = with lib.maintainers; [ pineapplehunter ];
|
||||
platforms = lib.platforms.all;
|
||||
# this does not need to be separately built
|
||||
# it only provides a dump gz file
|
||||
hydraPlatforms = [ ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user