From f594000f56e362e829a2f82c06031e0153da8e87 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Tue, 20 Sep 2022 04:20:00 +0000 Subject: [PATCH] sfsexp: 1.3 -> 1.4.0 --- pkgs/development/libraries/sfsexp/default.nix | 22 +++++++++++-------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/pkgs/development/libraries/sfsexp/default.nix b/pkgs/development/libraries/sfsexp/default.nix index 7c3fbb9f39e4..4090a68bf62b 100644 --- a/pkgs/development/libraries/sfsexp/default.nix +++ b/pkgs/development/libraries/sfsexp/default.nix @@ -1,19 +1,23 @@ -{ lib, stdenv, fetchurl }: +{ lib, stdenv, fetchFromGitHub, autoreconfHook }: stdenv.mkDerivation rec { pname = "sfsexp"; - version = "1.3"; + version = "1.4.0"; - src = fetchurl { - url = "mirror://sourceforge/sexpr/sexpr-${version}.tar.gz"; - sha256 = "18gdwxjja0ip378hlzs8sp7q2g6hrmy7x10yf2wnxfmmylbpqn8k"; + src = fetchFromGitHub { + owner = "mjsottile"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-TCAxofSRbyIdwowhHhPn483UA+QOHkLMz0P2LIi0ncA="; }; + nativeBuildInputs = [ autoreconfHook ]; + meta = with lib; { - description = "Small, fast s-expression library"; - homepage = "http://sexpr.sourceforge.net/"; + description = "Small Fast S-Expression Library"; + homepage = "https://github.com/mjsottile/sfsexp"; maintainers = with maintainers; [ jb55 ]; - license = licenses.gpl3; - platforms = with platforms; unix; + license = licenses.lgpl21Plus; + platforms = platforms.all; }; }