Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

sys-apps/nix: bump up to 1.6.1

  • Loading branch information...
commit 065f216f1ab62713a2198331e116988c14869372 1 parent eab3091
@qnikst qnikst authored
Showing with 59 additions and 0 deletions.
  1. +1 −0  sys-apps/nix/Manifest
  2. +58 −0 sys-apps/nix/nix-1.6.1.ebuild
View
1  sys-apps/nix/Manifest
@@ -1 +1,2 @@
DIST nix-1.1.tar.bz2 947271 SHA256 edb2fc444eda49be144ca2901f1fc9472cd24896775ba02556ded5705863d324 SHA512 2704ff25715d4d9f76c597af035da12f3181c2497e67048d2be165ff864124a8a396d6acf8c12aad9ee26660bce7e2de9d527b73edf43aa8df3d33110c6551c8 WHIRLPOOL d995f719ddbd989916c4633bb2eb65b176951993cab6036bd4aaad49708ee48633aea6f42b97c1825baafd68345c6c0c09f1cf6846f495b9edefc4c3c9a6c48a
+DIST nix-1.6.1.tar.xz 733864 SHA256 31d15f99b2405924a4be278334cc973a71999303631e6798c1d294db9be4bf84 SHA512 48f98f37c65e452205268c53c03a8006ed07197ceb5550f44e6c68feb0bbcc558ef3920a9c590cbf33a5c000f6062b8543d256d76fc8ac8b2ea6e57e1cecf629 WHIRLPOOL c2d32b3a9972f2ad73141f3be94b51d032975ebe8d215c22254f4bc4cb3944c4a0638e45f8f738613cf6803d063c8a4a7fe79a68406c6222ac1129bb15a31ed3
View
58 sys-apps/nix/nix-1.6.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+DESCRIPTION="A purely functional package manager"
+HOMEPAGE="http://nixos.org/nix"
+
+#in case we have something like _pre15214
+SRC_URI="http://nixos.org/releases/${PN}/${P}/${P}.tar.xz"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="etc_profile +gc doc"
+
+COMMON_DEPENDS="
+ app-arch/bzip2
+ dev-db/sqlite
+ dev-libs/openssl
+ gc? ( dev-libs/boehm-gc )
+ doc? ( dev-libs/libxml2
+ dev-libs/libxslt
+ app-text/docbook-xsl-stylesheets
+ )
+ dev-lang/perl
+ sys-libs/zlib
+"
+DEPEND="${COMMON_DEPENDS}
+ >=sys-devel/bison-2.6
+ >=sys-devel/flex-2.5.35
+ virtual/perl-ExtUtils-ParseXS
+"
+RDEPEND="${COMMON_DEPENDS}
+ dev-perl/DBD-SQLite
+ dev-perl/WWW-Curl
+ dev-perl/DBI
+ net-misc/curl
+"
+
+src_configure() {
+ econf $(use_enable gc)
+}
+
+src_install() {
+ # TODO: emacs highlighter
+ default
+ if ! use etc_profile; then
+ rm "${ED}"/etc/profile.d/nix.sh || die
+ fi
+}
+
+pkg_postinstall() {
+ if ! use etc_profile; then
+ ewarn "${EROOT}etc/profile.d/nix.sh was removed (due to USE=-etc_profile)."
+ ewarn "Please fix the ebuild by adding nix user/group handling."
+ fi
+}
Please sign in to comment.
Something went wrong with that request. Please try again.