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