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

23 lines
660 B
Nix
Raw Normal View History

2016-09-13 11:36:00 +01:00
{ python3Packages, fetchurl, lib }:
python3Packages.buildPythonApplication rec {
2017-03-01 09:17:43 +00:00
version = "2.2.0";
2016-09-13 11:36:00 +01:00
name = "cheat-${version}";
propagatedBuildInputs = with python3Packages; [ docopt pygments ];
src = fetchurl {
url = "mirror://pypi/c/cheat/${name}.tar.gz";
2017-03-01 09:17:43 +00:00
sha256 = "16pg1bgyfjvzpm2rbi411ckf3gljg9v1vzd5qhp23g69ch6yr138";
2016-09-13 11:36:00 +01:00
};
2016-11-30 20:05:01 +00:00
# no tests available
doCheck = false;
2016-09-13 11:36:00 +01:00
meta = {
description = "cheat allows you to create and view interactive cheatsheets on the command-line";
maintainers = with lib.maintainers; [ mic92 ];
license = with lib.licenses; [gpl3 mit];
homepage = https://github.com/chrisallenlane/cheat;
2016-09-13 11:36:00 +01:00
};
}