mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-23 21:33:49 +00:00
zf: 0.9.1 -> 0.9.2 (#330890)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
e6f02f6397
commit
077e145d2d
@ -3,28 +3,28 @@
|
||||
, fetchFromGitHub
|
||||
, installShellFiles
|
||||
, testers
|
||||
, zig_0_11
|
||||
, zig_0_13
|
||||
, callPackage
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "zf";
|
||||
version = "0.9.1";
|
||||
version = "0.9.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "natecraddock";
|
||||
repo = "zf";
|
||||
rev = "refs/tags/${finalAttrs.version}";
|
||||
hash = "sha256-JPv/59ELh+CS1/akuLNy0qSimMEJsypPO8hiHFAOirI=";
|
||||
hash = "sha256-8KfzsDG9sZ/jMOusz2ydt3oytp891vKOpCUlPAwS8TE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
zig_0_11.hook
|
||||
zig_0_13.hook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
ln -s ${callPackage ./deps.nix { }} $ZIG_GLOBAL_CACHE_DIR/p
|
||||
cp -a ${callPackage ./deps.nix { }}/. $ZIG_GLOBAL_CACHE_DIR/p
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
|
6
pkgs/tools/misc/zf/deps.nix
generated
6
pkgs/tools/misc/zf/deps.nix
generated
@ -4,10 +4,10 @@
|
||||
|
||||
linkFarm "zig-packages" [
|
||||
{
|
||||
name = "1220dee955839b7f267c1bb21e0ee60888c08f408c30f0722b243cabcc8cce8b7508";
|
||||
name = "12207831bce7d4abce57b5a98e8f3635811cfefd160bca022eb91fe905d36a02cf25";
|
||||
path = fetchzip {
|
||||
url = "https://codeberg.org/dude_the_builder/ziglyph/archive/v0.11.1.tar.gz";
|
||||
hash = "sha256-tpl4RyCcukKWZehlZf6t2n41gYFDyL27t7+bzcxHP7g=";
|
||||
url = "https://codeberg.org/dude_the_builder/ziglyph/archive/b89d43d1e3fb01b6074bc1f7fc980324b04d26a5.tar.gz";
|
||||
hash = "sha256-e/zYB9w6vvHUBJzjlocSjpJu3qao7sXjBsfUO9oDXyg=";
|
||||
};
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user