From 880c2da8d07356a87bf9500a55585ff8652f9fe5 Mon Sep 17 00:00:00 2001 From: aucub <78630225+aucub@users.noreply.github.com> Date: Mon, 25 Nov 2024 07:09:18 +0800 Subject: [PATCH] convbin: 3.7 -> 5.1 --- pkgs/by-name/co/convbin/package.nix | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/pkgs/by-name/co/convbin/package.nix b/pkgs/by-name/co/convbin/package.nix index e413b2144216..0708be15d396 100644 --- a/pkgs/by-name/co/convbin/package.nix +++ b/pkgs/by-name/co/convbin/package.nix @@ -1,16 +1,19 @@ -{ lib, stdenv -, fetchFromGitHub +{ + lib, + stdenv, + fetchFromGitHub, }: stdenv.mkDerivation rec { pname = "convbin"; - version = "3.7"; + version = "5.1"; src = fetchFromGitHub { owner = "mateoconlechuga"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-zCRM62xwaPaN8+cg+CeaqK/9hKpZmSBBeUOQqAvQGYw="; + repo = "convbin"; + rev = "refs/tags/v${version}"; + sha256 = "sha256-k0hwBdjOweFoAE6jzhlRFZsMOVDDpi4R4LHA7SwO3os="; + fetchSubmodules = true; }; postPatch = lib.optionalString stdenv.hostPlatform.isDarwin '' @@ -32,16 +35,16 @@ stdenv.mkDerivation rec { install -Dm755 bin/convbin $out/bin/convbin ''; - meta = with lib; { + meta = { description = "Converts files to other formats"; longDescription = '' This program is used to convert files to other formats, specifically for the TI84+CE and related calculators. ''; homepage = "https://github.com/mateoconlechuga/convbin"; - license = licenses.bsd3; - maintainers = with maintainers; [ clevor ]; - platforms = platforms.all; + license = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ clevor ]; + platforms = lib.platforms.all; mainProgram = "convbin"; }; }