cheat: 2.2.1 -> 2.2.2
This commit is contained in:
parent
d276fbaa6e
commit
cd3bdc9102
@ -1,20 +1,26 @@
|
|||||||
{ stdenv, python3Packages, fetchurl }:
|
{ stdenv, python3Packages, fetchFromGitHub }:
|
||||||
|
|
||||||
with python3Packages;
|
with python3Packages;
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
pname = "cheat";
|
pname = "cheat";
|
||||||
version = "2.2.1";
|
version = "2.2.2";
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [ docopt pygments ];
|
propagatedBuildInputs = [ docopt pygments ];
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "chrisallenlane";
|
||||||
sha256 = "0w4k1h02p2gjv5wcr1c7r0ynb7v50qajx4hpyxz0ndh96f6x30pl";
|
repo = "cheat";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1da4m4n6nivjakpll6jj0aszrv24g2zax74034lzpv3pbh84fvas";
|
||||||
};
|
};
|
||||||
# no tests available
|
# no tests available
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
install -D man1/cheat.1.gz $out/share/man/man1/cheat.1.gz
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "cheat allows you to create and view interactive cheatsheets on the command-line";
|
description = "cheat allows you to create and view interactive cheatsheets on the command-line";
|
||||||
maintainers = with maintainers; [ mic92 ];
|
maintainers = with maintainers; [ mic92 ];
|
||||||
|
Loading…
Reference in New Issue
Block a user