-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
28 lines (24 loc) · 786 Bytes
/
flake.nix
File metadata and controls
28 lines (24 loc) · 786 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
description = "Version Manager for the Zig Programming Language";
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system: {
packages.zigverm =
with import nixpkgs { inherit system; };
stdenv.mkDerivation(finalAttrs: {
name = "zigverm";
version = "0.7.1";
src = fetchFromGitHub {
owner = "AMythicDev";
repo = "zigverm";
rev = "v${finalAttrs.version}";
hash = "sha256-RcvDzA4gpyzRxsJQgxOpZT9MAkD9kndov0r6QQyr/DY=";
};
nativeBuildInputs = [
zig_0_13.hook
];
});
defaultPackage = self.packages.${system}.zigverm;
}
);
}