diff options
Diffstat (limited to 'pkgs/applications/file-managers/cfm/default.nix')
-rw-r--r-- | pkgs/applications/file-managers/cfm/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/applications/file-managers/cfm/default.nix b/pkgs/applications/file-managers/cfm/default.nix new file mode 100644 index 0000000000000..0955403e7eb81 --- /dev/null +++ b/pkgs/applications/file-managers/cfm/default.nix @@ -0,0 +1,29 @@ +{ 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; + }; +} |