mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
32 lines
812 B
Nix
32 lines
812 B
Nix
{ stdenv, lib, fetchFromGitHub, libcap, acl, file, readline }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "clifm";
|
|
version = "1.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "leo-arch";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-nYBGM3gUj1NGrxNLt0xpNl00cgS2Ecs3kYjZapiJT48=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|