feat(zig): init zig template
This commit is contained in:
parent
f79afe59c3
commit
8e52914770
11 changed files with 447 additions and 0 deletions
24
templates/zig/flake/package.nix
Normal file
24
templates/zig/flake/package.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
stdenv,
|
||||
zigpkgs,
|
||||
zig,
|
||||
}:
|
||||
stdenv.mkDerivation {
|
||||
pname = "REPLACE_ME";
|
||||
version = "REPLACE_VER";
|
||||
|
||||
src = ../.;
|
||||
|
||||
nativeBuildInputs = [
|
||||
(zig.hook.overrideAttrs (_: {
|
||||
propagatedBuildInputs = [
|
||||
zigpkgs.master
|
||||
];
|
||||
}))
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "REPLACE_DESC";
|
||||
homepage = "REPLACE_HOME";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue