1{ lib
2, stdenv
3, fetchFromGitHub
4}:
5
6stdenv.mkDerivation rec {
7 pname = "cfm";
8 version = "0.6.6";
9
10 src = fetchFromGitHub {
11 owner = "willeccles";
12 repo = pname;
13 rev = "v${version}";
14 sha256 = "sha256-uXL0RO9P+NYSZ0xCv91KzjHOJJI500YUT8IJkFS86pE=";
15 };
16
17 makeFlags = [
18 "DESTDIR=${placeholder "out"}"
19 "PREFIX="
20 ];
21
22 meta = with lib; {
23 homepage = "https://github.com/willeccles/cfm";
24 description = "Simple and fast TUI file manager with no dependencies";
25 license = licenses.mpl20;
26 maintainers = with maintainers; [ lom ];
27 platforms = platforms.all;
28 };
29}