nixpkgs/pkgs/applications/misc/cfm/default.nix

27 lines
614 B
Nix
Raw Normal View History

2021-11-23 03:26:08 +00:00
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "cfm";
version = "0.6.6";
src = fetchFromGitHub {
owner = "willeccles";
repo = pname;
rev = "v${version}";
sha256 = "sha256-uXL0RO9P+NYSZ0xCv91KzjHOJJI500YUT8IJkFS86pE=";
};
makeFlags = [
"DESTDIR=${placeholder "out"}"
"PREFIX="
];
meta = with lib; {
description = "Simple and fast TUI file manager with no dependencies";
license = licenses.mpl20;
maintainers = with maintainers; [ legendofmiracles ];
homepage = "https://github.com/willeccles/cfm";
platforms = platforms.all;
};
}