2019-03-08 19:46:18 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
2018-07-23 21:28:29 +00:00
|
|
|
|
2019-03-08 19:46:18 +00:00
|
|
|
buildGoModule rec {
|
2018-07-23 21:28:29 +00:00
|
|
|
name = "pet-${version}";
|
2019-03-08 19:46:18 +00:00
|
|
|
version = "0.3.4";
|
2018-07-23 21:28:29 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "knqyf263";
|
|
|
|
repo = "pet";
|
|
|
|
rev = "v${version}";
|
2019-03-08 19:46:18 +00:00
|
|
|
sha256 = "0m2fzpqxk7hrbxsgqplkg7h2p7gv6s1miymv3gvw0cz039skag0s";
|
2018-07-23 21:28:29 +00:00
|
|
|
};
|
|
|
|
|
2019-03-08 19:46:18 +00:00
|
|
|
modSha256 = "04zizcq6x1sshnkbvcy197k6axmjnazi9r7cfvcq7g2ng818y2yb";
|
|
|
|
|
|
|
|
subPackages = [ "." ];
|
2018-07-23 21:28:29 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|