mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
21 lines
621 B
Nix
21 lines
621 B
Nix
|
{ python3Packages, fetchurl, lib }:
|
||
|
|
||
|
python3Packages.buildPythonApplication rec {
|
||
|
version = "2.1.26";
|
||
|
name = "cheat-${version}";
|
||
|
|
||
|
propagatedBuildInputs = with python3Packages; [ docopt pygments ];
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = "mirror://pypi/c/cheat/${name}.tar.gz";
|
||
|
sha256 = "0yilm9ba6ll9wzh20gj3lg9mnc50q95m6sqmjp2vcghwgipdixpm";
|
||
|
};
|
||
|
|
||
|
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";
|
||
|
};
|
||
|
}
|