diff options
author | AndersonTorres <torres.anderson.85@protonmail.com> | 2022-06-26 21:54:10 -0300 |
---|---|---|
committer | AndersonTorres <torres.anderson.85@protonmail.com> | 2022-06-26 23:58:09 -0300 |
commit | 98b11298c2929728ddfbbb352f738e3bb76c1a87 (patch) | |
tree | bf436b846006ed56ae2f76598ef2381ea16ee294 /pkgs/applications/file-managers/clifm | |
parent | f47027dfd0cf76bae4b4c59511f0a2153b6a5e86 (diff) |
clifm: move to applications/file-managers
Diffstat (limited to 'pkgs/applications/file-managers/clifm')
-rw-r--r-- | pkgs/applications/file-managers/clifm/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/file-managers/clifm/default.nix b/pkgs/applications/file-managers/clifm/default.nix new file mode 100644 index 0000000000000..981f055679067 --- /dev/null +++ b/pkgs/applications/file-managers/clifm/default.nix @@ -0,0 +1,31 @@ +{ stdenv, lib, fetchFromGitHub, libcap, acl, file, readline }: + +stdenv.mkDerivation rec { + pname = "clifm"; + version = "1.5.1"; + + src = fetchFromGitHub { + owner = "leo-arch"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-JdVRi5xHKpYjP8h7df4WdizSU1dy+CtPfOiPEK+MEOE="; + }; + + buildInputs = [ libcap acl file readline ]; + + makeFlags = [ + "DESTDIR=${placeholder "out"}" + "DATADIR=/share" + "PREFIX=/" + ]; + + enableParallelBuilding = true; + + meta = with lib; { + homepage = "https://github.com/leo-arch/clifm"; + description = "CliFM is a CLI-based, shell-like, and non-curses terminal file manager written in C: simple, fast, extensible, and lightweight as hell"; + license = licenses.gpl2Plus; + maintainers = with maintainers; [ ]; + platforms = platforms.unix; + }; +} |