tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
has: init at 1.4.0
Wu Zhenyu
2 years ago
7b006dd9
287131c4
+37
3 changed files
expand all
collapse all
unified
split
maintainers
maintainer-list.nix
pkgs
applications
misc
has
default.nix
top-level
all-packages.nix
+6
maintainers/maintainer-list.nix
···
4775
4775
githubId = 7551358;
4776
4776
name = "Frede Emil";
4777
4777
};
4778
4778
+
Freed-Wu = {
4779
4779
+
email = "wuzhenyu@ustc.edu";
4780
4780
+
github = "Freed-Wu";
4781
4781
+
githubId = 32936898;
4782
4782
+
name = "Wu Zhenyu";
4783
4783
+
};
4778
4784
freezeboy = {
4779
4785
email = "freezeboy@users.noreply.github.com";
4780
4786
github = "freezeboy";
+29
pkgs/applications/misc/has/default.nix
···
1
1
+
{ lib, stdenvNoCC, fetchFromGitHub }:
2
2
+
3
3
+
stdenvNoCC.mkDerivation (finalAttrs: rec {
4
4
+
pname = "has";
5
5
+
version = "1.4.0";
6
6
+
7
7
+
src = fetchFromGitHub {
8
8
+
owner = "kdabir";
9
9
+
repo = "has";
10
10
+
rev = "v${finalAttrs.version}";
11
11
+
hash = "sha256-3XsNSl4lQfJjEPNGoFj6ABXGkwOUsg9AFDAz8euZApE=";
12
12
+
};
13
13
+
14
14
+
dontBuild = true;
15
15
+
16
16
+
installPhase = ''
17
17
+
runHook preInstall
18
18
+
install -Dm0555 ${pname} -t $out/bin
19
19
+
runHook postInstall
20
20
+
'';
21
21
+
22
22
+
meta = with lib; {
23
23
+
homepage = "https://github.com/kdabir/has";
24
24
+
description = "Checks presence of various command line tools and their versions on the path";
25
25
+
license = licenses.mit;
26
26
+
maintainers = with maintainers; [ Freed-Wu ];
27
27
+
platforms = platforms.unix;
28
28
+
};
29
29
+
})
+2
pkgs/top-level/all-packages.nix
···
4294
4294
4295
4295
gti = callPackage ../tools/misc/gti { };
4296
4296
4297
4297
+
has = callPackage ../applications/misc/has { };
4298
4298
+
4297
4299
hdate = callPackage ../applications/misc/hdate { };
4298
4300
4299
4301
heatseeker = callPackage ../tools/misc/heatseeker { };