nixpkgs-suyu/pkgs/development/tools/pet/default.nix

28 lines
670 B
Nix
Raw Normal View History

{ buildGoModule, fetchFromGitHub, lib }:
2018-07-23 23:28:29 +02:00
buildGoModule rec {
pname = "pet";
version = "0.3.6";
2018-07-23 23:28:29 +02:00
src = fetchFromGitHub {
owner = "knqyf263";
repo = "pet";
rev = "v${version}";
sha256 = "1na3az7vicjq1rxd3ybid47yrblsdazgli0dchkbwh8zchwhqj33";
2018-07-23 23:28:29 +02:00
};
vendorSha256 = "0pnd89iqdj3f719xf4iy5r04n51d0rrrf0qb2zjirpw7vh7g82i9";
doCheck = false;
subPackages = [ "." ];
2018-07-23 23:28:29 +02:00
meta = with lib; {
2018-07-23 23:28:29 +02:00
description = "Simple command-line snippet manager, written in Go";
homepage = "https://github.com/knqyf263/pet";
2018-07-23 23:28:29 +02:00
license = licenses.mit;
maintainers = with maintainers; [ kalbasit ];
platforms = platforms.linux ++ platforms.darwin;
};
}