diff options
author | Joerg Thalheim <joerg@thalheim.io> | 2017-11-27 09:34:23 +0000 |
---|---|---|
committer | Joerg Thalheim <joerg@thalheim.io> | 2017-11-27 09:37:14 +0000 |
commit | cd3bdc9102fdf2ad33d65022c4cd8edcb6cee465 (patch) | |
tree | 7cd9c188e736852dd04554e841174a341bb2d60f /pkgs/applications/misc/cheat | |
parent | d276fbaa6e957b796961800084637b20ab34bd97 (diff) |
cheat: 2.2.1 -> 2.2.2
Diffstat (limited to 'pkgs/applications/misc/cheat')
-rw-r--r-- | pkgs/applications/misc/cheat/default.nix | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/pkgs/applications/misc/cheat/default.nix b/pkgs/applications/misc/cheat/default.nix index a46485c5ef73..4ef1adb8e6cc 100644 --- a/pkgs/applications/misc/cheat/default.nix +++ b/pkgs/applications/misc/cheat/default.nix @@ -1,20 +1,26 @@ -{ stdenv, python3Packages, fetchurl }: +{ stdenv, python3Packages, fetchFromGitHub }: with python3Packages; buildPythonApplication rec { name = "${pname}-${version}"; pname = "cheat"; - version = "2.2.1"; + version = "2.2.2"; - propagatedBuildInputs = with python3Packages; [ docopt pygments ]; + propagatedBuildInputs = [ docopt pygments ]; - src = fetchPypi { - inherit pname version; - sha256 = "0w4k1h02p2gjv5wcr1c7r0ynb7v50qajx4hpyxz0ndh96f6x30pl"; + src = fetchFromGitHub { + owner = "chrisallenlane"; + repo = "cheat"; + rev = version; + sha256 = "1da4m4n6nivjakpll6jj0aszrv24g2zax74034lzpv3pbh84fvas"; }; # 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 ]; |