summary refs log tree commit diff
path: root/pkgs/development/tools/pet/default.nix
blob: da510e5251bf4dd1287f76bb222b3c48cb9c9702 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ buildGoPackage, fetchFromGitHub, lib }:

buildGoPackage rec {
  name = "pet-${version}";
  version = "0.3.2";

  goPackagePath = "github.com/knqyf263/pet";

  src = fetchFromGitHub {
    owner = "knqyf263";
    repo = "pet";
    rev = "v${version}";
    sha256 = "1zv2jfgh5nqd4cwr1ljm5p4rqam7hq3a6asfmhr3lcnp7sz9b8fr";
  };

  goDeps = ./deps.nix;

  meta = with lib; {
    description = "Simple command-line snippet manager, written in Go";
    homepage = https://github.com/knqyf263/pet;
    license = licenses.mit;
    maintainers = with maintainers; [ kalbasit ];
    platforms = platforms.linux ++ platforms.darwin;
  };
}