tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
0
fork
atom
overview
issues
pulls
pipelines
dhcpm: init at 0.2.3
Jared Baur
1 year ago
d8e490f5
20d2e6da
+31
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
dh
dhcpm
package.nix
+31
pkgs/by-name/dh/dhcpm/package.nix
reviewed
···
1
1
+
{
2
2
+
fetchFromGitHub,
3
3
+
lib,
4
4
+
nix-update-script,
5
5
+
rustPlatform,
6
6
+
}:
7
7
+
8
8
+
rustPlatform.buildRustPackage rec {
9
9
+
pname = "dhcpm";
10
10
+
version = "0.2.3";
11
11
+
12
12
+
src = fetchFromGitHub {
13
13
+
owner = "leshow";
14
14
+
repo = "dhcpm";
15
15
+
tag = "v${version}";
16
16
+
hash = "sha256-vjKN9arR6Os3pgG89qmHt/0Ds5ToO38tLsQBay6VEIk=";
17
17
+
};
18
18
+
19
19
+
useFetchCargoVendor = true;
20
20
+
cargoHash = "sha256-L6+/buzhYoLdFh7x8EmT37JyY5Pr7oFzyOGbhvgNvlw=";
21
21
+
22
22
+
passthru.updateScript = nix-update-script { };
23
23
+
24
24
+
meta = {
25
25
+
description = "Dhcpm is a CLI tool for constructing & sending DHCP messages";
26
26
+
homepage = "https://github.com/leshow/dhcpm";
27
27
+
license = lib.licenses.mit;
28
28
+
maintainers = [ lib.maintainers.jmbaur ];
29
29
+
mainProgram = "dhcpm";
30
30
+
};
31
31
+
}