tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
shfm: init at 0.4.2
AndersonTorres
4 years ago
6ab8cd7a
67c4ab77
+39
2 changed files
expand all
collapse all
unified
split
pkgs
applications
misc
shfm
default.nix
top-level
all-packages.nix
+38
pkgs/applications/misc/shfm/default.nix
···
1
1
+
{ lib
2
2
+
, stdenv
3
3
+
, fetchFromGitHub
4
4
+
}:
5
5
+
6
6
+
stdenv.mkDerivation rec {
7
7
+
pname = "shfm";
8
8
+
version = "0.4.2";
9
9
+
10
10
+
src = fetchFromGitHub {
11
11
+
owner = "dylanaraps";
12
12
+
repo = pname;
13
13
+
rev = version;
14
14
+
hash = "sha256-ilVrUFfyzOZgjbBTqlHA9hLaTHw1xHFo1Y/tjXygNEs=";
15
15
+
};
16
16
+
17
17
+
postPatch = ''
18
18
+
patchShebangs ./shfm
19
19
+
'';
20
20
+
21
21
+
dontConfigure = true;
22
22
+
dontBuild = true;
23
23
+
24
24
+
installPhase = ''
25
25
+
runHook preInstall
26
26
+
install -D shfm --target-directory $out/bin/
27
27
+
install -D README --target-directory $out/share/doc/${pname}/
28
28
+
runHook postInstall
29
29
+
'';
30
30
+
31
31
+
meta = with lib; {
32
32
+
homepage = "https://github.com/dylanaraps/shfm";
33
33
+
description = "POSIX-shell based file manager";
34
34
+
license = licenses.mit;
35
35
+
maintainers = with maintainers; [ AndersonTorres ];
36
36
+
platforms = platforms.all;
37
37
+
};
38
38
+
}
+1
pkgs/top-level/all-packages.nix
···
6958
6958
6959
6959
nnn = callPackage ../applications/misc/nnn { };
6960
6960
6961
6961
+
shfm = callPackage ../applications/misc/shfm { };
6961
6962
6962
6963
noise-repellent = callPackage ../applications/audio/noise-repellent { };
6963
6964