nixpkgs/pkgs/applications/misc/madonctl/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
754 B
Nix
Raw Normal View History

{ lib, buildGoPackage, fetchFromGitHub }:
2017-04-21 12:37:46 +00:00
buildGoPackage rec {
pname = "madonctl";
2017-05-20 17:06:34 +00:00
version = "1.1.0";
2017-04-21 12:37:46 +00:00
goPackagePath = "github.com/McKael/madonctl";
src = fetchFromGitHub {
owner = "McKael";
repo = "madonctl";
2017-05-20 17:06:34 +00:00
rev = "v${version}";
sha256 = "1dnc1xaafhwhhf5afhb0wc2wbqq0s1r7qzj5k0xzc58my541gadc";
2017-04-21 12:37:46 +00:00
};
2017-05-20 17:06:34 +00:00
# How to update:
# go get -u github.com/McKael/madonctl
# cd $GOPATH/src/github.com/McKael/madonctl
# git checkout v<version-number>
# go2nix save
goDeps = ./deps.nix;
meta = with lib; {
2017-04-21 12:37:46 +00:00
description = "CLI for the Mastodon social network API";
homepage = "https://github.com/McKael/madonctl";
2017-04-21 12:37:46 +00:00
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ ];
2017-04-21 12:37:46 +00:00
};
}