depot/third_party/nixpkgs/pkgs/applications/file-managers/clifm/default.nix
Default email 472aeafc57 Project import generated by Copybara.
GitOrigin-RevId: c31898adf5a8ed202ce5bea9f347b1c6871f32d1
2024-10-04 18:56:33 +02:00

46 lines
913 B
Nix

{
stdenv,
lib,
fetchFromGitHub,
libcap,
acl,
file,
readline,
python3,
}:
stdenv.mkDerivation rec {
pname = "clifm";
version = "1.21";
src = fetchFromGitHub {
owner = "leo-arch";
repo = pname;
rev = "v${version}";
hash = "sha256-x7Mdt8XcTtqxaHo28jrpyYPHZ/X1g9h4aulrW3YIXGQ=";
};
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";
};
}