2020-03-27 07:33:21 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
2018-07-23 22:28:29 +01:00
|
|
|
|
2019-03-08 19:46:18 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "pet";
|
2021-12-08 00:19:42 +00:00
|
|
|
version = "0.4.0";
|
2018-07-23 22:28:29 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "knqyf263";
|
|
|
|
repo = "pet";
|
|
|
|
rev = "v${version}";
|
2021-12-08 00:19:42 +00:00
|
|
|
sha256 = "sha256-gVTpzmXekQxGMucDKskGi+e+34nJwwsXwvQTjRO6Gdg=";
|
2018-07-23 22:28:29 +01:00
|
|
|
};
|
|
|
|
|
2021-12-08 00:19:42 +00:00
|
|
|
vendorSha256 = "sha256-vciiBzmqUAt5ZWn9go4B1uaz0HsBk5Z9Rbw7/MAimY4=";
|
2019-03-08 19:46:18 +00:00
|
|
|
|
2020-08-04 01:26:27 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2019-03-08 19:46:18 +00:00
|
|
|
subPackages = [ "." ];
|
2018-07-23 22:28:29 +01:00
|
|
|
|
2020-03-27 07:33:21 +00:00
|
|
|
meta = with lib; {
|
2018-07-23 22:28:29 +01:00
|
|
|
description = "Simple command-line snippet manager, written in Go";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/knqyf263/pet";
|
2018-07-23 22:28:29 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ kalbasit ];
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
};
|
2020-07-31 04:58:04 +01:00
|
|
|
}
|