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 Sep 29, 2023
1 parent dbc3a52 commit e5384df
Showing 1 changed file with 71 additions and 0 deletions.
71 changes: 71 additions & 0 deletions pkgs/by-name/gu/guix/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
{ lib
, stdenv
, fetchurl
, git
, guile
, pkg-config
, bzip2
, guile-git
, guile-gnutls
, guile-json
, 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-git
guile-gnutls
guile-json
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 e5384df

Please sign in to comment.