Merge pull request #130810 from SuperSandro2000/ponysay

This commit is contained in:
Sandro 2021-07-20 18:44:32 +02:00 committed by GitHub
commit 505e2a989c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,15 +1,18 @@
{ lib, stdenv, fetchurl, python3, texinfo, makeWrapper }: { lib, stdenv, fetchFromGitHub, python3, texinfo, makeWrapper }:
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "ponysay-3.0.3"; name = "ponysay";
version = "3.0.3";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/erkin/ponysay/archive/3.0.3.tar.gz"; owner = "erkin";
sha256 = "12mjabf5cpp5dgg63s19rlyq3dhhpzzy2sa439yncqzsk7rdg0n3"; repo = "ponysay";
rev = version;
sha256 = "sha256-R2B0TU3ZSEncGsijKgvhaHIbcZa5Dx/jVPxrILBaoVw=";
}; };
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];
buildInputs = [ python3 texinfo ]; buildInputs = [ python3 texinfo ];
inherit python3; inherit python3;
@ -23,11 +26,11 @@ stdenv.mkDerivation {
--with-bash --with-bash
''; '';
meta = { meta = with lib; {
description = "Cowsay reimplemention for ponies"; description = "Cowsay reimplemention for ponies";
homepage = "https://github.com/erkin/ponysay"; homepage = "https://github.com/erkin/ponysay";
license = lib.licenses.gpl3; license = licenses.gpl3;
maintainers = with lib.maintainers; [ bodil ]; maintainers = with maintainers; [ bodil ];
platforms = with lib.platforms; unix; platforms = platforms.unix;
}; };
} }