From c18638dc95216b1b2930d16e1334613d82d05e8e Mon Sep 17 00:00:00 2001 From: legendofmiracles Date: Mon, 22 Nov 2021 21:26:08 -0600 Subject: [PATCH] cfm: init at 0.6.6 --- pkgs/applications/misc/cfm/default.nix | 26 ++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/applications/misc/cfm/default.nix diff --git a/pkgs/applications/misc/cfm/default.nix b/pkgs/applications/misc/cfm/default.nix new file mode 100644 index 000000000000..50442f62b65e --- /dev/null +++ b/pkgs/applications/misc/cfm/default.nix @@ -0,0 +1,26 @@ +{ 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f923b5fc1403..a79915ac60e1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2429,6 +2429,8 @@ with pkgs; cfdyndns = callPackage ../applications/networking/dyndns/cfdyndns { }; + cfm = callPackage ../applications/misc/cfm { }; + charliecloud = callPackage ../applications/virtualization/charliecloud { }; chelf = callPackage ../tools/misc/chelf { };