nixpkgs/pkgs/applications/misc/cheat/default.nix

25 lines
678 B
Nix
Raw Normal View History

2017-09-12 08:37:57 +00:00
{ stdenv, python3Packages, fetchurl }:
2016-09-13 10:36:00 +00:00
2017-09-12 08:37:57 +00:00
with python3Packages;
buildPythonApplication rec {
name = "${pname}-${version}";
pname = "cheat";
version = "2.2.1";
2016-09-13 10:36:00 +00:00
propagatedBuildInputs = with python3Packages; [ docopt pygments ];
2017-09-12 08:37:57 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "0w4k1h02p2gjv5wcr1c7r0ynb7v50qajx4hpyxz0ndh96f6x30pl";
2016-09-13 10:36:00 +00:00
};
2016-11-30 20:05:01 +00:00
# no tests available
doCheck = false;
2016-09-13 10:36:00 +00:00
2017-09-12 08:37:57 +00:00
meta = with stdenv.lib; {
2016-09-13 10:36:00 +00:00
description = "cheat allows you to create and view interactive cheatsheets on the command-line";
2017-09-12 08:37:57 +00:00
maintainers = with maintainers; [ mic92 ];
license = with licenses; [gpl3 mit];
homepage = https://github.com/chrisallenlane/cheat;
2016-09-13 10:36:00 +00:00
};
}