depot/third_party/nixpkgs/pkgs/applications/file-managers/clifm/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

46 lines
913 B
Nix

{
stdenv,
lib,
fetchFromGitHub,
libcap,
acl,
file,
readline,
python3,
}:
stdenv.mkDerivation rec {
pname = "clifm";
version = "1.19";
src = fetchFromGitHub {
owner = "leo-arch";
repo = pname;
rev = "v${version}";
hash = "sha256-QNxEvFZ5e4jQV2Tv2/D9KPRDoCoQlrqStFnbKVgcXxg=";
};
buildInputs = [
libcap
acl
file
readline
python3
];
makeFlags = [
"PREFIX=${placeholder "out"}"
"DATADIR=${placeholder "out"}/share"
];
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; [ nadir-ishiguro ];
platforms = platforms.unix;
mainProgram = "clifm";
};
}