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 09:04:36 +01:00
stdenv.mkDerivation rec {
pname = "clifm";
2024-06-19 01:50:02 +01:00
version = "1.19";
2021-05-31 09:04:36 +01:00
src = fetchFromGitHub {
owner = "leo-arch";
repo = pname;
rev = "v${version}";
2024-06-19 01:50:02 +01:00
hash = "sha256-QNxEvFZ5e4jQV2Tv2/D9KPRDoCoQlrqStFnbKVgcXxg=";
2021-05-31 09:04:36 +01:00
};
2024-03-24 20:31:36 +00:00
buildInputs = [
libcap
acl
file
readline
python3
];
2021-05-31 09:04:36 +01:00
makeFlags = [
"PREFIX=${placeholder "out"}"
"DATADIR=${placeholder "out"}/share"
2021-05-31 09:04:36 +01: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 09:04:36 +01:00
platforms = platforms.unix;
2024-02-11 02:19:15 +00:00
mainProgram = "clifm";
2021-05-31 09:04:36 +01:00
};
}