mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-06 21:13:40 +00:00
47 lines
913 B
Nix
47 lines
913 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitHub,
|
|
libcap,
|
|
acl,
|
|
file,
|
|
readline,
|
|
python3,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "clifm";
|
|
version = "1.22";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "leo-arch";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-keoQUfRQA77+1ArVRKYiWGACXAi505jLXSVXUpuMlMc=";
|
|
};
|
|
|
|
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";
|
|
};
|
|
}
|