3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/cheat/default.nix

25 lines
663 B
Nix
Raw Normal View History

2019-10-30 13:40:01 +00:00
{ stdenv, fetchFromGitHub, buildGoModule }:
2016-09-13 11:36:00 +01:00
2019-10-30 13:40:01 +00:00
buildGoModule rec {
2017-09-12 09:37:57 +01:00
pname = "cheat";
2019-10-30 13:40:01 +00:00
version = "3.0.3";
2016-09-13 11:36:00 +01:00
2017-11-27 09:34:23 +00:00
src = fetchFromGitHub {
owner = "chrisallenlane";
repo = "cheat";
rev = version;
2019-10-30 13:40:01 +00:00
sha256 = "19w1admdcgld9vlc4fsyc5d9bi6rmwhr2x2ji43za2vjlk34hnnx";
2016-09-13 11:36:00 +01:00
};
2019-10-30 13:40:01 +00:00
subPackages = [ "cmd/cheat" ];
2017-11-27 09:34:23 +00:00
2019-10-30 13:40:01 +00:00
modSha256 = "189cqnfl403f4lk7g9v68mwk93ciglqli639dk4x9091lvn5gq5q";
2019-01-29 11:57:36 +00:00
2017-09-12 09:37:57 +01:00
meta = with stdenv.lib; {
2016-09-13 11:36:00 +01:00
description = "cheat allows you to create and view interactive cheatsheets on the command-line";
2017-09-12 09:37:57 +01:00
maintainers = with maintainers; [ mic92 ];
2019-01-29 11:57:36 +00:00
license = with licenses; [ gpl3 mit ];
homepage = https://github.com/chrisallenlane/cheat;
2016-09-13 11:36:00 +01:00
};
}