2019-03-08 19:46:18 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
2018-07-23 22:28:29 +01:00
|
|
|
|
2019-03-08 19:46:18 +00:00
|
|
|
buildGoModule rec {
|
2018-07-23 22:28:29 +01:00
|
|
|
name = "pet-${version}";
|
2019-07-02 15:58:20 +01:00
|
|
|
version = "0.3.5";
|
2018-07-23 22:28:29 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "knqyf263";
|
|
|
|
repo = "pet";
|
|
|
|
rev = "v${version}";
|
2019-07-02 15:58:20 +01:00
|
|
|
sha256 = "03fzvvdmb06kf2zglaf8jkqxqv9h1kl7n586ww61z3n3mmp1x4rd";
|
2018-07-23 22:28:29 +01:00
|
|
|
};
|
|
|
|
|
2019-03-22 03:40:07 +00:00
|
|
|
modSha256 = "06ham8lsx5c1vk5jkwp1aa9g4q4g7sfq7gxz2gkffa98x2vlawyf";
|
2019-03-08 19:46:18 +00:00
|
|
|
|
|
|
|
subPackages = [ "." ];
|
2018-07-23 22:28:29 +01: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;
|
|
|
|
};
|
|
|
|
}
|