1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00
nixpkgs/pkgs/applications/misc/cheat/default.nix
R. RyanTM d824354bad cheat: 2.2.2 -> 2.2.3
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/cheat/versions.

These checks were done:

- built on NixOS
- ran ‘/nix/store/m8yp4ml3jvxhbci1fjg34b27pvpzq9pr-cheat-2.2.3/bin/.cheat-wrapped -h’ got 0 exit code
- ran ‘/nix/store/m8yp4ml3jvxhbci1fjg34b27pvpzq9pr-cheat-2.2.3/bin/.cheat-wrapped --help’ got 0 exit code
- ran ‘/nix/store/m8yp4ml3jvxhbci1fjg34b27pvpzq9pr-cheat-2.2.3/bin/.cheat-wrapped -v’ and found version 2.2.3
- ran ‘/nix/store/m8yp4ml3jvxhbci1fjg34b27pvpzq9pr-cheat-2.2.3/bin/.cheat-wrapped --version’ and found version 2.2.3
- ran ‘/nix/store/m8yp4ml3jvxhbci1fjg34b27pvpzq9pr-cheat-2.2.3/bin/cheat -h’ got 0 exit code
- ran ‘/nix/store/m8yp4ml3jvxhbci1fjg34b27pvpzq9pr-cheat-2.2.3/bin/cheat --help’ got 0 exit code
- ran ‘/nix/store/m8yp4ml3jvxhbci1fjg34b27pvpzq9pr-cheat-2.2.3/bin/cheat -v’ and found version 2.2.3
- ran ‘/nix/store/m8yp4ml3jvxhbci1fjg34b27pvpzq9pr-cheat-2.2.3/bin/cheat --version’ and found version 2.2.3
- found 2.2.3 with grep in /nix/store/m8yp4ml3jvxhbci1fjg34b27pvpzq9pr-cheat-2.2.3
- directory tree listing: https://gist.github.com/661cfb129e250e70cce3e717f95e1ca9
2018-04-07 18:50:37 -07:00

31 lines
799 B
Nix

{ stdenv, python3Packages, fetchFromGitHub }:
with python3Packages;
buildPythonApplication rec {
name = "${pname}-${version}";
pname = "cheat";
version = "2.2.3";
propagatedBuildInputs = [ docopt pygments ];
src = fetchFromGitHub {
owner = "chrisallenlane";
repo = "cheat";
rev = version;
sha256 = "1p9a54fax3b1ilqcwdlccy08ww3igwsyzcyikqivaxj5p6mqq6wl";
};
# no tests available
doCheck = false;
postInstall = ''
install -D man1/cheat.1.gz $out/share/man/man1/cheat.1.gz
'';
meta = with stdenv.lib; {
description = "cheat allows you to create and view interactive cheatsheets on the command-line";
maintainers = with maintainers; [ mic92 ];
license = with licenses; [gpl3 mit];
homepage = https://github.com/chrisallenlane/cheat;
};
}