Merge pull request #291216 from atorres1985-contrib/fm
fm-go: init at 0.16.0
This commit is contained in:
commit
c5989d6524
1 changed files with 31 additions and 0 deletions
31
pkgs/by-name/fm/fm-go/package.nix
Normal file
31
pkgs/by-name/fm/fm-go/package.nix
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
{ lib
|
||||||
|
, buildGoModule
|
||||||
|
, fetchFromGitHub
|
||||||
|
, stdenv
|
||||||
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
finalAttrs = {
|
||||||
|
pname = "fm";
|
||||||
|
version = "0.16.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "mistakenelf";
|
||||||
|
repo = "fm";
|
||||||
|
rev = "v${finalAttrs.version}";
|
||||||
|
hash = "sha256-wiACaszbkO9jBYmIfeQpcx984RY41Emyu911nkJxUFY=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorHash = "sha256-AfRGoKiVZGVIbsDj5pV1zCkp2FpcfWKS0t+cTU51RRc=";
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "https://github.com/mistakenelf/fm";
|
||||||
|
description = "A terminal based file manager";
|
||||||
|
changelog = "https://github.com/mistakenelf/fm/releases/tag/${finalAttrs.src.rev}";
|
||||||
|
license = with lib.licenses; [ mit ];
|
||||||
|
mainProgram = "fm";
|
||||||
|
maintainers = with lib.maintainers; [ AndersonTorres ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
in
|
||||||
|
buildGoModule finalAttrs
|
Loading…
Reference in a new issue