Merge pull request #151267 from legendofmiracles/clifm

clifm: 1.1 -> 1.3
This commit is contained in:
Bobby Rong 2021-12-21 09:10:41 +08:00 committed by GitHub
commit 6cbeedae79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,33 +2,30 @@
stdenv.mkDerivation rec {
pname = "clifm";
version = "1.1";
version = "1.3";
src = fetchFromGitHub {
owner = "leo-arch";
repo = pname;
rev = "v${version}";
sha256 = "0mf9lrq0l532vyf4ycsikrw8imn4gkavyn3cr42nhjsr1drygrp8";
sha256 = "sha256-nYBGM3gUj1NGrxNLt0xpNl00cgS2Ecs3kYjZapiJT48=";
};
buildInputs = [ libcap acl file readline ];
makeFlags = [
"INSTALLPREFIX=${placeholder "out"}/bin"
"DESKTOPPREFIX=${placeholder "out"}/share"
"DESTDIR=${placeholder "out"}"
"DATADIR=/share"
"PREFIX=/"
];
preInstall = ''
mkdir -p $out/bin $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; [ vonfry ];
maintainers = with maintainers; [ ];
platforms = platforms.unix;
};
}