2021-05-31 08:04:36 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub, libcap, acl, file, readline }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "clifm";
|
2022-03-29 11:50:13 +00:00
|
|
|
version = "1.5.1";
|
2021-05-31 08:04:36 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "leo-arch";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-03-29 11:50:13 +00:00
|
|
|
sha256 = "sha256-JdVRi5xHKpYjP8h7df4WdizSU1dy+CtPfOiPEK+MEOE=";
|
2021-05-31 08:04:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libcap acl file readline ];
|
|
|
|
|
|
|
|
makeFlags = [
|
2021-12-19 05:14:11 +00:00
|
|
|
"DESTDIR=${placeholder "out"}"
|
|
|
|
"DATADIR=/share"
|
|
|
|
"PREFIX=/"
|
2021-05-31 08:04:36 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
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;
|
2021-12-19 05:14:11 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2021-05-31 08:04:36 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|