3a4df29a92
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
31 lines
814 B
Nix
31 lines
814 B
Nix
{ stdenv, lib, fetchFromGitHub, libcap, acl, file, readline }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "clifm";
|
|
version = "1.5.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "leo-arch";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-JdVRi5xHKpYjP8h7df4WdizSU1dy+CtPfOiPEK+MEOE=";
|
|
};
|
|
|
|
buildInputs = [ libcap acl file readline ];
|
|
|
|
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;
|
|
};
|
|
}
|