Skip to content

Commit

Permalink
guix: init at 1.4.0
Browse files Browse the repository at this point in the history
Signed-off-by: Christina Sørensen <[email protected]>
  • Loading branch information
cafkafk authored and wegank committed Oct 11, 2023
1 parent dbc3a52 commit f8190aa
Showing 1 changed file with 79 additions and 0 deletions.
79 changes: 79 additions & 0 deletions pkgs/by-name/gu/guix/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
{ lib
, stdenv
, fetchurl
, git
, guile
, pkg-config
, bzip2
, guile-gcrypt
, guile-git
, guile-gnutls
, guile-json
, guile-lib
, guile-sqlite3
, guile-zlib
, libgcrypt
, sqlite
}:

stdenv.mkDerivation rec {
pname = "guix";
version = "1.4.0";

src = fetchurl {
url = "mirror://gnu/guix/guix-${version}.tar.gz";
hash = "sha256-Q8dpy/Yy7wVEmsH6SMG6FSwzSUxqvH5HE3u6eyFJ+KQ=";
};

# This is kept from the old ludo version, might be useful later
# configureFlags =
# [ "--localstatedir=/nix/var"
# "--with-libgcrypt-prefix=${libgcrypt}"
# ];

strictDeps = true;

nativeBuildInputs = [
git
guile
pkg-config
];

buildInputs = [
bzip2
guile
guile-gcrypt
guile-git
guile-gnutls
guile-json
guile-lib
guile-sqlite3
guile-zlib
libgcrypt
sqlite
];

enableParallelBuilding = true;

doCheck = true;

meta = with lib; {
description = "Functional package manager with a Scheme interface";
longDescription = ''
GNU Guix is a purely functional package manager for the GNU system, and a distribution thereof.
In addition to standard package management features, Guix supports
transactional upgrades and roll-backs, unprivileged package management,
per-user profiles, and garbage collection.
It provides Guile Scheme APIs, including high-level embedded
domain-specific languages (EDSLs), to describe how packages are built
and composed.
A user-land free software distribution for GNU/Linux comes as part of
Guix.
Guix is based on the Nix package manager.
'';
homepage = "http://www.gnu.org/software/guix";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ cafkafk ];
platforms = platforms.linux;
};
}

0 comments on commit f8190aa

Please sign in to comment.