Merge pull request #119688 from AndersonTorres/quick-modifications
shfm: init at 0.4.2
This commit is contained in:
commit
72d6fa9bf2
2 changed files with 39 additions and 0 deletions
38
pkgs/applications/misc/shfm/default.nix
Normal file
38
pkgs/applications/misc/shfm/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "shfm";
|
||||||
|
version = "0.4.2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "dylanaraps";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-ilVrUFfyzOZgjbBTqlHA9hLaTHw1xHFo1Y/tjXygNEs=";
|
||||||
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
patchShebangs ./shfm
|
||||||
|
'';
|
||||||
|
|
||||||
|
dontConfigure = true;
|
||||||
|
dontBuild = true;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
install -D shfm --target-directory $out/bin/
|
||||||
|
install -D README --target-directory $out/share/doc/${pname}/
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/dylanaraps/shfm";
|
||||||
|
description = "POSIX-shell based file manager";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ AndersonTorres ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
|
@ -6958,6 +6958,7 @@ in
|
||||||
|
|
||||||
nnn = callPackage ../applications/misc/nnn { };
|
nnn = callPackage ../applications/misc/nnn { };
|
||||||
|
|
||||||
|
shfm = callPackage ../applications/misc/shfm { };
|
||||||
|
|
||||||
noise-repellent = callPackage ../applications/audio/noise-repellent { };
|
noise-repellent = callPackage ../applications/audio/noise-repellent { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue