tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
mastotool: init at 0.2.4
https://github.com/muesli/mastotool
figsoda
2 years ago
eb4efed0
1708e6ad
+30
2 changed files
expand all
collapse all
unified
split
pkgs
tools
misc
mastotool
default.nix
top-level
all-packages.nix
+28
pkgs/tools/misc/mastotool/default.nix
···
1
1
+
{ lib
2
2
+
, buildGoModule
3
3
+
, fetchFromGitHub
4
4
+
}:
5
5
+
6
6
+
buildGoModule rec {
7
7
+
pname = "mastotool";
8
8
+
version = "0.2.4";
9
9
+
10
10
+
src = fetchFromGitHub {
11
11
+
owner = "muesli";
12
12
+
repo = "mastotool";
13
13
+
rev = "v${version}";
14
14
+
hash = "sha256-KmYUt2WXLY6i17dZ+o5HOTyMwbQnynY7IT43LIEN3B0=";
15
15
+
};
16
16
+
17
17
+
vendorHash = "sha256-uQgLwH8Z8rBfyKHMm2JHO+H1gsHK25+c34bOnMcmquA=";
18
18
+
19
19
+
ldflags = [ "-s" "-w" ];
20
20
+
21
21
+
meta = with lib; {
22
22
+
description = "A collection of command-line tools to work with your Mastodon account";
23
23
+
homepage = "https://github.com/muesli/mastotool";
24
24
+
changelog = "https://github.com/muesli/mastotool/releases/tag/${src.rev}";
25
25
+
license = licenses.mit;
26
26
+
maintainers = with maintainers; [ figsoda ];
27
27
+
};
28
28
+
}
+2
pkgs/top-level/all-packages.nix
···
9651
9651
9652
9652
maskromtool = qt6Packages.callPackage ../tools/graphics/maskromtool { };
9653
9653
9654
9654
+
mastotool = callPackage ../tools/misc/mastotool { };
9655
9655
+
9654
9656
mathpix-snipping-tool = callPackage ../tools/misc/mathpix-snipping-tool { };
9655
9657
9656
9658
matrix-conduit = callPackage ../servers/matrix-conduit { };