diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/sfsexp')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/sfsexp/default.nix | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/nixpkgs/pkgs/development/libraries/sfsexp/default.nix b/nixpkgs/pkgs/development/libraries/sfsexp/default.nix index 7c3fbb9f39e4..3d047ccd7f50 100644 --- a/nixpkgs/pkgs/development/libraries/sfsexp/default.nix +++ b/nixpkgs/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.1"; - src = fetchurl { - url = "mirror://sourceforge/sexpr/sexpr-${version}.tar.gz"; - sha256 = "18gdwxjja0ip378hlzs8sp7q2g6hrmy7x10yf2wnxfmmylbpqn8k"; + src = fetchFromGitHub { + owner = "mjsottile"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-uAk/8Emf23J0D3D5+eUEpWLY2fIvdQ7a80eGe9i1WQ8="; }; + 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; }; } |