pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

wip/nix: Import as nix-2.2.1



Module Name:	pkgsrc-wip
Committed By:	ng0 <ng0%n0.is@localhost>
Pushed By:	ng0
Date:		Tue Jun 25 19:28:54 2019 +0000
Changeset:	1b63071c1acaa04a5129bccfa4305e4edb4b2405

Modified Files:
	Makefile
Added Files:
	nix/DESCR
	nix/Makefile
	nix/PLIST
	nix/distinfo

Log Message:
wip/nix: Import as nix-2.2.1

Nix is a purely functional package manager. This means that it treats
packages like values in purely functional programming languages such as
Haskell-they are built by functions that don't have side-effects, and they
never change after they have been built. Nix stores packages in the Nix
store, usually the directory /nix/store, where each package has its own unique
sub-directory.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1b63071c1acaa04a5129bccfa4305e4edb4b2405

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile     |  1 +
 nix/DESCR    |  6 ++++++
 nix/Makefile | 44 ++++++++++++++++++++++++++++++++++++++++++++
 nix/PLIST    |  1 +
 nix/distinfo |  6 ++++++
 5 files changed, 58 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index bacfcbb855..4a777a13e2 100644
--- a/Makefile
+++ b/Makefile
@@ -2396,6 +2396,7 @@ SUBDIR+=	ninja-ide
 SUBDIR+=	ninka
 SUBDIR+=	nios2-gdb
 SUBDIR+=	nitrogen
+SUBDIR+=	nix
 SUBDIR+=	njb-sharp
 SUBDIR+=	nlohmann-json
 SUBDIR+=	nltk_data
diff --git a/nix/DESCR b/nix/DESCR
new file mode 100644
index 0000000000..25af182b54
--- /dev/null
+++ b/nix/DESCR
@@ -0,0 +1,6 @@
+Nix is a purely functional package manager. This means that it treats
+packages like values in purely functional programming languages such as
+Haskell-they are built by functions that don't have side-effects, and they
+never change after they have been built. Nix stores packages in the Nix
+store, usually the directory /nix/store, where each package has its own unique
+sub-directory.
\ No newline at end of file
diff --git a/nix/Makefile b/nix/Makefile
new file mode 100644
index 0000000000..6b47660ee8
--- /dev/null
+++ b/nix/Makefile
@@ -0,0 +1,44 @@
+# $NetBSD$
+
+GITHUB_PROJECT=	nix
+DISTNAME=	2.2.1
+PKGNAME=	${GITHUB_PROJECT}-${DISTNAME}
+CATEGORIES=	wip
+MASTER_SITES=	${MASTER_SITE_GITHUB:=NixOS/}
+DIST_SUBDIR=	${GITHUB_PROJECT}
+
+MAINTAINER=	ng0%n0.is@localhost
+HOMEPAGE=	https://github.com/NixOS/nix/
+COMMENT=	Purely functional package manager
+LICENSE=	gnu-lgpl-v2.1
+
+WRKSRC=		${WRKDIR}/nix-2.2.1
+USE_TOOLS+=	pkg-config yacc flex automake autoconf autoreconf #bison?
+USE_LANGUAGES=	c c++
+GNU_CONFIGURE=	YES
+
+PKGCONFIG_OVERRIDE+=	src/libexpr/nix-expr.pc.in
+PKGCONFIG_OVERRIDE+=	src/libmain/nix-main.pc.in
+PKGCONFIG_OVERRIDE+=	src/libstore/nix-store.pc.in
+
+CONFIGURE_ARGS+=	--with-sandbox-shell=/bin/sh
+CONFIGURE_ARGS+=	--enable-gc
+#CONFIGURE_ARGS+=	--localstatedir=
+
+#pkg-config fails to find editline and suggests to set the following:
+#EDITLINE_CFLAGS
+#EDITLINE_LIBS
+
+pre-configure:
+	cd ${WRKSRC} && ${SH} bootstrap.sh
+
+.include "../../archivers/brotli/buildlink3.mk"
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../databases/sqlite3/buildlink3.mk"
+.include "../../devel/boehm-gc/buildlink3.mk"
+.include "../../devel/editline/buildlink3.mk"
+#.include "../../meta-pkgs/boost/buildlink3.mk"
+.include "../../security/libsodium/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/nix/PLIST b/nix/PLIST
new file mode 100644
index 0000000000..48d96a5493
--- /dev/null
+++ b/nix/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD$
diff --git a/nix/distinfo b/nix/distinfo
new file mode 100644
index 0000000000..b8ff876819
--- /dev/null
+++ b/nix/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (nix/2.2.1.tar.gz) = c4fe22ab7d058a94a841b2c12791e9cc74fee629
+RMD160 (nix/2.2.1.tar.gz) = 3a21c478082061d18d4c11e6b1d86f227d84fbfa
+SHA512 (nix/2.2.1.tar.gz) = 604d830225b2ee65c9206e93c33bbf35a41cb0d479ec969731281d25d87f236043f8c39ef7d2647e7412fb71336349651e131ec1b414e1679b0d3d097fb884c4
+Size (nix/2.2.1.tar.gz) = 865875 bytes


Home | Main Index | Thread Index | Old Index