nixpkgs/pkgs/applications/file-managers/clifm/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

47 lines
913 B
Nix
Raw Normal View History

2024-03-24 20:31:36 +00:00
{
stdenv,
lib,
fetchFromGitHub,
libcap,
acl,
file,
readline,
python3,
}:
2021-05-31 08:04:36 +00:00
stdenv.mkDerivation rec {
pname = "clifm";
version = "1.18";
2021-05-31 08:04:36 +00:00
src = fetchFromGitHub {
owner = "leo-arch";
repo = pname;
rev = "v${version}";
hash = "sha256-tgCGZCLCWcF7ktXqDHjoUkeVqxg6QVOkZb7pbk3nA+U=";
2021-05-31 08:04:36 +00:00
};
2024-03-24 20:31:36 +00:00
buildInputs = [
libcap
acl
file
readline
python3
];
2021-05-31 08:04:36 +00:00
makeFlags = [
"PREFIX=${placeholder "out"}"
"DATADIR=${placeholder "out"}/share"
2021-05-31 08:04:36 +00:00
];
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;
2024-01-14 12:11:07 +00:00
maintainers = with maintainers; [ nadir-ishiguro ];
2021-05-31 08:04:36 +00:00
platforms = platforms.unix;
2024-02-11 02:19:15 +00:00
mainProgram = "clifm";
2021-05-31 08:04:36 +00:00
};
}