depot/third_party/nixpkgs/pkgs/applications/file-managers/cfm/default.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

30 lines
628 B
Nix

{ 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; {
homepage = "https://github.com/willeccles/cfm";
description = "Simple and fast TUI file manager with no dependencies";
license = licenses.mpl20;
maintainers = with maintainers; [ lom ];
platforms = platforms.all;
mainProgram = "cfm";
};
}