1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 19:08:30 +00:00
nixpkgs/pkgs/development/tools/pet/default.nix

26 lines
647 B
Nix
Raw Normal View History

{ buildGoModule, fetchFromGitHub, lib }:
2018-07-23 22:28:29 +01:00
buildGoModule rec {
pname = "pet";
version = "0.3.6";
2018-07-23 22:28:29 +01:00
src = fetchFromGitHub {
owner = "knqyf263";
repo = "pet";
rev = "v${version}";
sha256 = "1na3az7vicjq1rxd3ybid47yrblsdazgli0dchkbwh8zchwhqj33";
2018-07-23 22:28:29 +01:00
};
modSha256 = "06ham8lsx5c1vk5jkwp1aa9g4q4g7sfq7gxz2gkffa98x2vlawyf";
subPackages = [ "." ];
2018-07-23 22:28:29 +01:00
meta = with lib; {
2018-07-23 22:28:29 +01:00
description = "Simple command-line snippet manager, written in Go";
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;
};
}