lol

Merge pull request #258218 from figsoda/zf

zf: 0.8.0 -> 0.9.0

authored by

Fabián Heredia Montiel and committed by
GitHub
a4245704 cf9272bc

+24 -8
+11 -8
pkgs/tools/misc/zf/default.nix
··· 3 3 , fetchFromGitHub 4 4 , installShellFiles 5 5 , testers 6 - , zig_0_10 6 + , zig_0_11 7 + , callPackage 7 8 }: 8 9 9 10 stdenv.mkDerivation (finalAttrs: { 10 11 pname = "zf"; 11 - version = "0.8.0"; 12 + version = "0.9.0"; 12 13 13 14 src = fetchFromGitHub { 14 15 owner = "natecraddock"; 15 16 repo = "zf"; 16 17 rev = "refs/tags/${finalAttrs.version}"; 17 - fetchSubmodules = true; 18 - hash = "sha256-MzlSU5x2lb6PJZ/iNAi2aebfuClBprlfHMIG/4OPmuc="; 18 + hash = "sha256-qzGr72EnWlGZgd7/r+8Iv+1i/Q9qvWpf/cgkr+TrgkE="; 19 19 }; 20 20 21 21 nativeBuildInputs = [ 22 22 installShellFiles 23 - zig_0_10.hook 23 + zig_0_11.hook 24 24 ]; 25 25 26 - doCheck = false; # it's failing somehow 26 + postPatch = '' 27 + ln -s ${callPackage ./deps.nix { }} $ZIG_GLOBAL_CACHE_DIR/p 28 + ''; 27 29 28 30 postInstall = '' 29 31 installManPage doc/zf.1 ··· 33 35 --zsh complete/_zf 34 36 ''; 35 37 36 - passthru.tests.version = testers.testVersion { package = finalAttrs.zf; }; 38 + passthru.tests.version = testers.testVersion { package = finalAttrs.finalPackage; }; 37 39 38 40 meta = { 39 41 homepage = "https://github.com/natecraddock/zf"; 40 42 description = "A commandline fuzzy finder that prioritizes matches on filenames"; 43 + changelog = "https://github.com/natecraddock/zf/releases/tag/${finalAttrs.version}"; 41 44 license = lib.licenses.mit; 42 45 platforms = lib.platforms.unix; 43 - maintainers = with lib.maintainers; [ dit7ya mmlb ]; 46 + maintainers = with lib.maintainers; [ dit7ya figsoda mmlb ]; 44 47 }; 45 48 })
+13
pkgs/tools/misc/zf/deps.nix
··· 1 + # generated by zon2nix (https://github.com/nix-community/zon2nix) 2 + 3 + { linkFarm, fetchzip }: 4 + 5 + linkFarm "zig-packages" [ 6 + { 7 + name = "1220dee955839b7f267c1bb21e0ee60888c08f408c30f0722b243cabcc8cce8b7508"; 8 + path = fetchzip { 9 + url = "https://codeberg.org/dude_the_builder/ziglyph/archive/v0.11.1.tar.gz"; 10 + hash = "sha256-tpl4RyCcukKWZehlZf6t2n41gYFDyL27t7+bzcxHP7g="; 11 + }; 12 + } 13 + ]