commit ad52fb9bcbaa987ae75709c78284ffbf36f085b6 parent 5d0f2db8accc48f9fdfce3790d7ab6395a97e917 Author: Nikolay Korotkiy <sikmir@gmail.com> Date: Thu, 18 Feb 2021 18:54:37 +0300 Add sfm Diffstat:
M | pkgs/default.nix | | | 1 | + |
A | pkgs/suckless/sfm/default.nix | | | 23 | +++++++++++++++++++++++ |
2 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -281,6 +281,7 @@ lib.makeScope newScope ( sbase = callPackage ./suckless/sbase { }; scroll = callPackage ./suckless/scroll { }; sfeed = callPackage ./suckless/sfeed { }; + sfm = callPackage ./suckless/sfm { }; stagit = callPackage ./suckless/stagit { }; xprompt = callPackage ./suckless/xprompt { }; } diff --git a/pkgs/suckless/sfm/default.nix b/pkgs/suckless/sfm/default.nix @@ -0,0 +1,23 @@ +{ lib, stdenv, fetchFromGitHub }: + +stdenv.mkDerivation { + pname = "sfm"; + version = "2021-02-18"; + + src = fetchFromGitHub { + owner = "afify"; + repo = "sfm"; + rev = "55ec310062f3e27dd95ac9d5fcb134f25a100ba9"; + sha256 = "1wldb0y2i5jrj427z4q4m4n3v1myfizc0b2wkbmvnms2fvqw05vb"; + }; + + installFlags = [ "PREFIX=$(out)" ]; + + meta = with lib; { + description = "Simple file manager"; + homepage = "https://github.com/afify/sfm"; + license = licenses.isc; + platforms = platforms.unix; + maintainers = [ maintainers.sikmir ]; + }; +}