parent
1708e6ad63
commit
eb4efed05b
28
pkgs/tools/misc/mastotool/default.nix
Normal file
28
pkgs/tools/misc/mastotool/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
{ lib
|
||||||
|
, buildGoModule
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "mastotool";
|
||||||
|
version = "0.2.4";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "muesli";
|
||||||
|
repo = "mastotool";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-KmYUt2WXLY6i17dZ+o5HOTyMwbQnynY7IT43LIEN3B0=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorHash = "sha256-uQgLwH8Z8rBfyKHMm2JHO+H1gsHK25+c34bOnMcmquA=";
|
||||||
|
|
||||||
|
ldflags = [ "-s" "-w" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A collection of command-line tools to work with your Mastodon account";
|
||||||
|
homepage = "https://github.com/muesli/mastotool";
|
||||||
|
changelog = "https://github.com/muesli/mastotool/releases/tag/${src.rev}";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ figsoda ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -9651,6 +9651,8 @@ with pkgs;
|
||||||
|
|
||||||
maskromtool = qt6Packages.callPackage ../tools/graphics/maskromtool { };
|
maskromtool = qt6Packages.callPackage ../tools/graphics/maskromtool { };
|
||||||
|
|
||||||
|
mastotool = callPackage ../tools/misc/mastotool { };
|
||||||
|
|
||||||
mathpix-snipping-tool = callPackage ../tools/misc/mathpix-snipping-tool { };
|
mathpix-snipping-tool = callPackage ../tools/misc/mathpix-snipping-tool { };
|
||||||
|
|
||||||
matrix-conduit = callPackage ../servers/matrix-conduit { };
|
matrix-conduit = callPackage ../servers/matrix-conduit { };
|
||||||
|
|
Loading…
Reference in a new issue