2019-03-08 20:46:18 +01:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
2018-07-23 23:28:29 +02:00
|
|
|
|
2019-03-08 20:46:18 +01:00
|
|
|
buildGoModule rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "pet";
|
2019-09-28 03:15:57 +02:00
|
|
|
version = "0.3.6";
|
2018-07-23 23:28:29 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "knqyf263";
|
|
|
|
repo = "pet";
|
|
|
|
rev = "v${version}";
|
2019-09-28 03:15:57 +02:00
|
|
|
sha256 = "1na3az7vicjq1rxd3ybid47yrblsdazgli0dchkbwh8zchwhqj33";
|
2018-07-23 23:28:29 +02:00
|
|
|
};
|
|
|
|
|
2019-03-22 04:40:07 +01:00
|
|
|
modSha256 = "06ham8lsx5c1vk5jkwp1aa9g4q4g7sfq7gxz2gkffa98x2vlawyf";
|
2019-03-08 20:46:18 +01:00
|
|
|
|
|
|
|
subPackages = [ "." ];
|
2018-07-23 23:28:29 +02: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;
|
|
|
|
};
|
|
|
|
}
|