diff options
author | AndersonTorres <torres.anderson.85@protonmail.com> | 2021-04-15 11:57:17 -0300 |
---|---|---|
committer | AndersonTorres <torres.anderson.85@protonmail.com> | 2021-04-15 17:08:04 -0300 |
commit | 08b221fa0d2e3c1241ada2ca3672abd0c469de07 (patch) | |
tree | b31b40714e315b8d5ccde594350ff1b294c873ef /pkgs/development/guile-modules | |
parent | 03ba2b5039abfe90d22ae00059726ca257d3bbae (diff) | |
download | nixpkgs-08b221fa0d2e3c1241ada2ca3672abd0c469de07.tar nixpkgs-08b221fa0d2e3c1241ada2ca3672abd0c469de07.tar.gz nixpkgs-08b221fa0d2e3c1241ada2ca3672abd0c469de07.tar.bz2 nixpkgs-08b221fa0d2e3c1241ada2ca3672abd0c469de07.tar.lz nixpkgs-08b221fa0d2e3c1241ada2ca3672abd0c469de07.tar.xz nixpkgs-08b221fa0d2e3c1241ada2ca3672abd0c469de07.tar.zst nixpkgs-08b221fa0d2e3c1241ada2ca3672abd0c469de07.zip |
guile-lib: rewrite
Diffstat (limited to 'pkgs/development/guile-modules')
-rw-r--r-- | pkgs/development/guile-modules/guile-lib/default.nix | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/pkgs/development/guile-modules/guile-lib/default.nix b/pkgs/development/guile-modules/guile-lib/default.nix index 34299b345ee..50c6a1daefb 100644 --- a/pkgs/development/guile-modules/guile-lib/default.nix +++ b/pkgs/development/guile-modules/guile-lib/default.nix @@ -1,20 +1,29 @@ -{ lib, stdenv, fetchurl, guile, texinfo, pkg-config }: +{ lib +, stdenv +, fetchurl +, guile +, pkg-config +, texinfo +}: assert stdenv ? cc && stdenv.cc.isGNU; -let - name = "guile-lib-${version}"; +stdenv.mkDerivation rec { + pname = "guile-lib"; version = "0.2.6.1"; -in stdenv.mkDerivation { - inherit name; src = fetchurl { - url = "mirror://savannah/guile-lib/${name}.tar.gz"; - sha256 = "0aizxdif5dpch9cvs8zz5g8ds5s4xhfnwza2il5ji7fv2h7ks7bd"; + url = "mirror://savannah/${pname}/${pname}-${version}.tar.gz"; + hash = "sha256-bR09DxTbnSgLjUJ9bh3sRBfd0Cv/I71Zguy24mLrPyo="; }; - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ guile texinfo ]; + nativeBuildInputs = [ + pkg-config + ]; + buildInputs = [ + guile + texinfo + ]; doCheck = true; @@ -25,6 +34,7 @@ in stdenv.mkDerivation { ''; meta = with lib; { + homepage = "https://www.nongnu.org/guile-lib/"; description = "A collection of useful Guile Scheme modules"; longDescription = '' guile-lib is intended as an accumulation place for pure-scheme Guile @@ -32,7 +42,6 @@ in stdenv.mkDerivation { modules into a coherent library. Think "a down-scaled, limited-scope CPAN for Guile". ''; - homepage = "https://www.nongnu.org/guile-lib/"; license = licenses.gpl3Plus; maintainers = with maintainers; [ vyp ]; platforms = platforms.gnu ++ platforms.linux; |