ponysay: cleanup, pname + version

This commit is contained in:
Sandro Jäckel 2021-07-20 18:25:24 +02:00
parent 595a151776
commit ab7a73a286
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

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