cheat: 2.2.1 -> 2.2.2

This commit is contained in:
Joerg Thalheim 2017-11-27 09:34:23 +00:00
parent d276fbaa6e
commit cd3bdc9102

View File

@ -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 ];