mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
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;
|
||||
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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user