mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
commit
07be4c855c
2 changed files with 33 additions and 0 deletions
31
pkgs/applications/misc/fff/default.nix
Normal file
31
pkgs/applications/misc/fff/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
{ stdenv, fetchFromGitHub, makeWrapper, xdg_utils, file, coreutils }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "fff";
|
||||||
|
version = "1.5";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "dylanaraps";
|
||||||
|
repo = name;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "0jvv9mwj0qw3rmg1f17wbvx9fl5kxzmkp6j1113l3a6w1na83js0";
|
||||||
|
};
|
||||||
|
|
||||||
|
pathAdd = stdenv.lib.makeSearchPath "bin" [ xdg_utils file coreutils ];
|
||||||
|
buildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
install -D fff "$out/bin/fff"
|
||||||
|
install -D README.md "$out/share/doc/fff/README.md"
|
||||||
|
install -D fff.1 "$out/share/man/man1/fff.1"
|
||||||
|
wrapProgram $out/bin/fff --prefix PATH : ${pathAdd}
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Fucking Fast File-Manager";
|
||||||
|
homepage = https://github.com/dylanaraps/fff;
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = [ maintainers.tadeokondrak ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
|
@ -16986,6 +16986,8 @@ in
|
||||||
|
|
||||||
fetchmail = callPackage ../applications/misc/fetchmail { };
|
fetchmail = callPackage ../applications/misc/fetchmail { };
|
||||||
|
|
||||||
|
fff = callPackage ../applications/misc/fff { };
|
||||||
|
|
||||||
fig2dev = callPackage ../applications/graphics/fig2dev { };
|
fig2dev = callPackage ../applications/graphics/fig2dev { };
|
||||||
|
|
||||||
FIL-plugins = callPackage ../applications/audio/FIL-plugins { };
|
FIL-plugins = callPackage ../applications/audio/FIL-plugins { };
|
||||||
|
|
Loading…
Reference in a new issue