mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 21:10:08 +00:00
32 lines
622 B
Nix
32 lines
622 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "cfm";
|
|
version = "0.6.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sophec";
|
|
repo = "cfm";
|
|
rev = "v${finalAttrs.version}";
|
|
sha256 = "sha256-uXL0RO9P+NYSZ0xCv91KzjHOJJI500YUT8IJkFS86pE=";
|
|
};
|
|
|
|
makeFlags = [
|
|
"DESTDIR=${placeholder "out"}"
|
|
"PREFIX="
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/sophec/cfm";
|
|
description = "Simple and fast TUI file manager with no dependencies";
|
|
license = lib.licenses.mpl20;
|
|
maintainers = [ ];
|
|
platforms = lib.platforms.all;
|
|
mainProgram = "cfm";
|
|
};
|
|
})
|