convbin: 3.7 -> 5.1

This commit is contained in:
aucub 2024-11-25 07:09:18 +08:00
parent dfe5c76f37
commit 880c2da8d0

View File

@ -1,16 +1,19 @@
{ lib, stdenv {
, fetchFromGitHub lib,
stdenv,
fetchFromGitHub,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "convbin"; pname = "convbin";
version = "3.7"; version = "5.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mateoconlechuga"; owner = "mateoconlechuga";
repo = pname; repo = "convbin";
rev = "v${version}"; rev = "refs/tags/v${version}";
sha256 = "sha256-zCRM62xwaPaN8+cg+CeaqK/9hKpZmSBBeUOQqAvQGYw="; sha256 = "sha256-k0hwBdjOweFoAE6jzhlRFZsMOVDDpi4R4LHA7SwO3os=";
fetchSubmodules = true;
}; };
postPatch = lib.optionalString stdenv.hostPlatform.isDarwin '' postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
@ -32,16 +35,16 @@ stdenv.mkDerivation rec {
install -Dm755 bin/convbin $out/bin/convbin install -Dm755 bin/convbin $out/bin/convbin
''; '';
meta = with lib; { meta = {
description = "Converts files to other formats"; description = "Converts files to other formats";
longDescription = '' longDescription = ''
This program is used to convert files to other formats, This program is used to convert files to other formats,
specifically for the TI84+CE and related calculators. specifically for the TI84+CE and related calculators.
''; '';
homepage = "https://github.com/mateoconlechuga/convbin"; homepage = "https://github.com/mateoconlechuga/convbin";
license = licenses.bsd3; license = lib.licenses.bsd3;
maintainers = with maintainers; [ clevor ]; maintainers = with lib.maintainers; [ clevor ];
platforms = platforms.all; platforms = lib.platforms.all;
mainProgram = "convbin"; mainProgram = "convbin";
}; };
} }