2016-09-13 12:36:00 +02:00
|
|
|
{ python3Packages, fetchurl, lib }:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
2016-11-30 21:05:01 +01:00
|
|
|
version = "2.1.27";
|
2016-09-13 12:36:00 +02:00
|
|
|
name = "cheat-${version}";
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [ docopt pygments ];
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/c/cheat/${name}.tar.gz";
|
2016-11-30 21:05:01 +01:00
|
|
|
sha256 = "1mrrfwd4ivas0alfkhjryxxzf24a4ngk8c6n2zlfb8ziwf7czcqd";
|
2016-09-13 12:36:00 +02:00
|
|
|
};
|
2016-11-30 21:05:01 +01:00
|
|
|
# no tests available
|
|
|
|
doCheck = false;
|
2016-09-13 12:36:00 +02: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";
|
|
|
|
};
|
|
|
|
}
|