depot/third_party/nixpkgs/pkgs/applications/file-managers/clifm/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

31 lines
829 B
Nix

{ stdenv, lib, fetchFromGitHub, libcap, acl, file, readline, python3 }:
stdenv.mkDerivation rec {
pname = "clifm";
version = "1.15";
src = fetchFromGitHub {
owner = "leo-arch";
repo = pname;
rev = "v${version}";
sha256 = "sha256-4Z2u1APNfJ9Ai95MMWb5FCUgCA2Hrbp+5eBJZD3tN+U=";
};
buildInputs = [ libcap acl file readline python3];
makeFlags = [
"DESTDIR=${placeholder "out"}"
"DATADIR=/share"
"PREFIX=/"
];
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; [ ];
platforms = platforms.unix;
};
}