Merge branch 'master' into staging
This commit is contained in:
commit
addd20e6f9
@ -48,7 +48,7 @@ trouble with packages like `3dmodels` and `4Blocks`, because these names are
|
|||||||
invalid identifiers in the Nix language. The issue of how to deal with these
|
invalid identifiers in the Nix language. The issue of how to deal with these
|
||||||
rare corner cases is currently unresolved.)
|
rare corner cases is currently unresolved.)
|
||||||
|
|
||||||
Haskell packages who's Nix name (second column) begins with a `haskell-` prefix
|
Haskell packages whose Nix name (second column) begins with a `haskell-` prefix
|
||||||
are packages that provide a library whereas packages without that prefix
|
are packages that provide a library whereas packages without that prefix
|
||||||
provide just executables. Libraries may provide executables too, though: the
|
provide just executables. Libraries may provide executables too, though: the
|
||||||
package `haskell-pandoc`, for example, installs both a library and an
|
package `haskell-pandoc`, for example, installs both a library and an
|
||||||
|
@ -111,7 +111,7 @@ in {
|
|||||||
type = mkOption {
|
type = mkOption {
|
||||||
description = "Database type.";
|
description = "Database type.";
|
||||||
default = "sqlite3";
|
default = "sqlite3";
|
||||||
type = types.enum ["mysql" "sqlite3" "postgresql"];
|
type = types.enum ["mysql" "sqlite3" "postgres"];
|
||||||
};
|
};
|
||||||
|
|
||||||
host = mkOption {
|
host = mkOption {
|
||||||
|
@ -76,8 +76,9 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.updater.enable or cfg.daemon.enable {
|
config = mkIf (cfg.updater.enable || cfg.daemon.enable) {
|
||||||
environment.systemPackages = [ pkg ];
|
environment.systemPackages = [ pkg ];
|
||||||
|
|
||||||
users.extraUsers = singleton {
|
users.extraUsers = singleton {
|
||||||
name = clamavUser;
|
name = clamavUser;
|
||||||
uid = config.ids.uids.clamav;
|
uid = config.ids.uids.clamav;
|
||||||
@ -94,7 +95,7 @@ in
|
|||||||
environment.etc."clamav/freshclam.conf".source = freshclamConfigFile;
|
environment.etc."clamav/freshclam.conf".source = freshclamConfigFile;
|
||||||
environment.etc."clamav/clamd.conf".source = clamdConfigFile;
|
environment.etc."clamav/clamd.conf".source = clamdConfigFile;
|
||||||
|
|
||||||
systemd.services.clamav-daemon = mkIf cfg.daemon.enable {
|
systemd.services.clamav-daemon = optionalAttrs cfg.daemon.enable {
|
||||||
description = "ClamAV daemon (clamd)";
|
description = "ClamAV daemon (clamd)";
|
||||||
after = mkIf cfg.updater.enable [ "clamav-freshclam.service" ];
|
after = mkIf cfg.updater.enable [ "clamav-freshclam.service" ];
|
||||||
requires = mkIf cfg.updater.enable [ "clamav-freshclam.service" ];
|
requires = mkIf cfg.updater.enable [ "clamav-freshclam.service" ];
|
||||||
@ -115,7 +116,7 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.timers.clamav-freshclam = mkIf cfg.updater.enable {
|
systemd.timers.clamav-freshclam = optionalAttrs cfg.updater.enable {
|
||||||
description = "Timer for ClamAV virus database updater (freshclam)";
|
description = "Timer for ClamAV virus database updater (freshclam)";
|
||||||
wantedBy = [ "timers.target" ];
|
wantedBy = [ "timers.target" ];
|
||||||
timerConfig = {
|
timerConfig = {
|
||||||
@ -124,7 +125,7 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.clamav-freshclam = mkIf cfg.updater.enable {
|
systemd.services.clamav-freshclam = optionalAttrs cfg.updater.enable {
|
||||||
description = "ClamAV virus database updater (freshclam)";
|
description = "ClamAV virus database updater (freshclam)";
|
||||||
restartTriggers = [ freshclamConfigFile ];
|
restartTriggers = [ freshclamConfigFile ];
|
||||||
|
|
||||||
|
@ -18,7 +18,9 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "19bxhdnkvgncgl9x6nbaf5nwgrdfw99icvdbi9adfh646pd5z64s";
|
sha256 = "19bxhdnkvgncgl9x6nbaf5nwgrdfw99icvdbi9adfh646pd5z64s";
|
||||||
};
|
};
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
# Dependencies are underspecified: "make -C src gtest/zcash_gtest-test_merkletree.o"
|
||||||
|
# fails with "fatal error: test/data/merkle_roots.json.h: No such file or directory"
|
||||||
|
enableParallelBuilding = false;
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||||
buildInputs = [ gtest gmock gmp libsnark openssl wget db62 boost zlib
|
buildInputs = [ gtest gmock gmp libsnark openssl wget db62 boost zlib
|
||||||
|
@ -20,11 +20,11 @@ let
|
|||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "nano-${version}";
|
name = "nano-${version}";
|
||||||
version = "2.9.0";
|
version = "2.9.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/nano/${name}.tar.xz";
|
url = "mirror://gnu/nano/${name}.tar.xz";
|
||||||
sha256 = "17hjgvig59a2ha2b0494bprrci3d33sayjqvxjhsnlzgr8whrlyj";
|
sha256 = "0z5sxji8jh8sh0g3inbzndhsrbm4qyqlvjrxl5wkxbr61lnxa5k3";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ texinfo ] ++ optional enableNls gettext;
|
nativeBuildInputs = [ texinfo ] ++ optional enableNls gettext;
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "jgmenu-${version}";
|
name = "jgmenu-${version}";
|
||||||
version = "0.7.4";
|
version = "0.7.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "johanmalm";
|
owner = "johanmalm";
|
||||||
repo = "jgmenu";
|
repo = "jgmenu";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0vim7balxrxhbgq4jvf80lbh57xbw3qmhapy7n2iyv443ih4a7hi";
|
sha256 = "1gml2g711pr6wakznlxjrlmz8kylkv0ydpvv0jx2y5qczp3rwk3a";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -64,6 +64,12 @@ in stdenv.mkDerivation rec {
|
|||||||
url = "http://git.ghostscript.com/?p=mupdf.git;a=patch;h=82df2631d7d0446b206ea6b434ea609b6c28b0e8";
|
url = "http://git.ghostscript.com/?p=mupdf.git;a=patch;h=82df2631d7d0446b206ea6b434ea609b6c28b0e8";
|
||||||
sha256 = "04kfww7y0wazg6372g44fa2k5kiiigq4616ihkvmp18rz86903n9";
|
sha256 = "04kfww7y0wazg6372g44fa2k5kiiigq4616ihkvmp18rz86903n9";
|
||||||
})
|
})
|
||||||
|
|
||||||
|
(fetchurl {
|
||||||
|
name = "mupdf-1.11-CVE-2017-15369.patch";
|
||||||
|
url = "http://git.ghostscript.com/?p=mupdf.git;a=patch;h=c2663e51238ec8256da7fc61ad580db891d9fe9a";
|
||||||
|
sha256 = "0xx2mrbjcymi3gh0l3cq81m6bygp9dv79v1kyrbcvpl5z6wgl71y";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
{ stdenv, fetchurl, dpkg, makeWrapper
|
{ stdenv, fetchurl, dpkg, makeWrapper
|
||||||
, alsaLib, atk, cairo, cups, curl, dbus, expat, fontconfig, freetype, glib, glibc, gnome2, libsecret
|
, alsaLib, atk, cairo, cups, curl, dbus, expat, fontconfig, freetype, glib, glibc, gnome2
|
||||||
, libnotify, nspr, nss, systemd, xorg, libv4l, libstdcxx5 }:
|
, libnotify, libpulseaudio, libsecret, libstdcxx5, libv4l, nspr, nss, systemd, xorg }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
version = "5.5.0.1";
|
version = "8.11.0.4";
|
||||||
|
|
||||||
rpath = stdenv.lib.makeLibraryPath [
|
rpath = stdenv.lib.makeLibraryPath [
|
||||||
alsaLib
|
alsaLib
|
||||||
@ -17,9 +17,8 @@ let
|
|||||||
fontconfig
|
fontconfig
|
||||||
freetype
|
freetype
|
||||||
glib
|
glib
|
||||||
libsecret
|
|
||||||
glibc
|
glibc
|
||||||
libstdcxx5
|
libsecret
|
||||||
|
|
||||||
gnome2.GConf
|
gnome2.GConf
|
||||||
gnome2.gdk_pixbuf
|
gnome2.gdk_pixbuf
|
||||||
@ -29,10 +28,12 @@ let
|
|||||||
gnome2.gnome_keyring
|
gnome2.gnome_keyring
|
||||||
|
|
||||||
libnotify
|
libnotify
|
||||||
|
libpulseaudio
|
||||||
nspr
|
nspr
|
||||||
nss
|
nss
|
||||||
stdenv.cc.cc
|
stdenv.cc.cc
|
||||||
systemd
|
systemd
|
||||||
|
libstdcxx5
|
||||||
libv4l
|
libv4l
|
||||||
|
|
||||||
xorg.libxkbfile
|
xorg.libxkbfile
|
||||||
@ -54,7 +55,7 @@ let
|
|||||||
if stdenv.system == "x86_64-linux" then
|
if stdenv.system == "x86_64-linux" then
|
||||||
fetchurl {
|
fetchurl {
|
||||||
url = "https://repo.skype.com/deb/pool/main/s/skypeforlinux/skypeforlinux_${version}_amd64.deb";
|
url = "https://repo.skype.com/deb/pool/main/s/skypeforlinux/skypeforlinux_${version}_amd64.deb";
|
||||||
sha256 = "1r65qlsjwp0n0fmlhvbp71h03b3x73r26jk9f4q687sjqnzmkvcr";
|
sha256 = "1dq7k4zlqqsx7786phialia5xbpc3cp1wrjhqrvga09yg4dl505c";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
throw "Skype for linux is not supported on ${stdenv.system}";
|
throw "Skype for linux is not supported on ${stdenv.system}";
|
||||||
@ -92,15 +93,13 @@ in stdenv.mkDerivation {
|
|||||||
substituteInPlace $out/share/applications/skypeforlinux.desktop \
|
substituteInPlace $out/share/applications/skypeforlinux.desktop \
|
||||||
--replace /usr/bin/ $out/bin/ \
|
--replace /usr/bin/ $out/bin/ \
|
||||||
--replace /usr/share/ $out/share/
|
--replace /usr/share/ $out/share/
|
||||||
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Linux client for skype";
|
description = "Linux client for skype";
|
||||||
homepage = https://www.skype.com;
|
homepage = https://www.skype.com;
|
||||||
license = licenses.unfree;
|
license = licenses.unfree;
|
||||||
maintainers = with stdenv.lib.maintainers; [ panaeon ];
|
maintainers = with stdenv.lib.maintainers; [ panaeon jraygauthier ];
|
||||||
platforms = [ "x86_64-linux" ];
|
platforms = [ "x86_64-linux" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -27,9 +27,11 @@ stdenv.mkDerivation {
|
|||||||
patches = [ ./install-emacs-to-site-lisp.patch
|
patches = [ ./install-emacs-to-site-lisp.patch
|
||||||
./use-nix-ocaml-byteflags.patch ];
|
./use-nix-ocaml-byteflags.patch ];
|
||||||
|
|
||||||
postPatch = stdenv.lib.optionalString (camlp4 != null) ''
|
postPatch = optionalString (camlp4 != null) ''
|
||||||
substituteInPlace src/Makefile.master.in \
|
substituteInPlace src/Makefile.master.in \
|
||||||
--replace "+camlp4" "${camlp4}/lib/ocaml/${ocaml.version}/site-lib/camlp4/"
|
--replace "+camlp4" "${camlp4}/lib/ocaml/${ocaml.version}/site-lib/camlp4/"
|
||||||
|
'' + optionalString (versionAtLeast (stdenv.lib.getVersion ocamlPackages.yojson) "1.4") ''
|
||||||
|
substituteInPlace src/scripting/Makefile.in --replace yojson.cmo yojson.cma
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# The bytecode executable is dependent on the dynamic library provided by
|
# The bytecode executable is dependent on the dynamic library provided by
|
||||||
|
@ -19,8 +19,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ];
|
configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-fpermissive " + # fix build with newer gcc versions
|
enableParallelBuilding = true;
|
||||||
"-std=c++11"; # fix build with glm >= 0.9.6.0
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://gource.io/;
|
homepage = http://gource.io/;
|
||||||
@ -36,7 +35,7 @@ stdenv.mkDerivation rec {
|
|||||||
Mercurial and Bazaar and SVN. Gource can also parse logs produced
|
Mercurial and Bazaar and SVN. Gource can also parse logs produced
|
||||||
by several third party tools for CVS repositories.
|
by several third party tools for CVS repositories.
|
||||||
'';
|
'';
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
maintainers = with maintainers; [ pSub ];
|
maintainers = with maintainers; [ pSub ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
28
pkgs/data/fonts/iosevka/bin.nix
Normal file
28
pkgs/data/fonts/iosevka/bin.nix
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{ stdenv, fetchzip }:
|
||||||
|
|
||||||
|
let
|
||||||
|
version = "1.13.3";
|
||||||
|
in fetchzip rec {
|
||||||
|
name = "iosevka-bin-${version}";
|
||||||
|
|
||||||
|
url = "https://github.com/be5invis/Iosevka/releases/download/v${version}/iosevka-pack-${version}.zip";
|
||||||
|
|
||||||
|
postFetch = ''
|
||||||
|
mkdir -p $out/share/fonts
|
||||||
|
unzip -j $downloadedFile \*.ttc -d $out/share/fonts/iosevka
|
||||||
|
'';
|
||||||
|
|
||||||
|
sha256 = "0103rjxcp2sis42xp7fh7g8i03h5snvs8n78lgsf79g8ssw0p9d4";
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://be5invis.github.io/Iosevka/;
|
||||||
|
downloadPage = "https://github.com/be5invis/Iosevka/releases";
|
||||||
|
description = ''
|
||||||
|
Slender monospace sans-serif and slab-serif typeface inspired by Pragmata
|
||||||
|
Pro, M+ and PF DIN Mono, designed to be the ideal font for programming.
|
||||||
|
'';
|
||||||
|
license = licenses.ofl;
|
||||||
|
platforms = platforms.all;
|
||||||
|
maintainers = [ maintainers.cstrahan ];
|
||||||
|
};
|
||||||
|
}
|
27
pkgs/data/fonts/tlwg/default.nix
Normal file
27
pkgs/data/fonts/tlwg/default.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, autoreconfHook, fontforge }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "tlwg-${version}";
|
||||||
|
version = "0.6.4";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "tlwg";
|
||||||
|
repo = "fonts-tlwg";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "13bx98ygyyizb15ybdv3856lkxhx1fss8f7aiqmp0lk9zgw4mqyk";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
|
|
||||||
|
buildInputs = [ fontforge ];
|
||||||
|
|
||||||
|
preAutoreconf = "echo ${version} > VERSION";
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A collection of Thai scalable fonts available under free licenses";
|
||||||
|
homepage = https://linux.thai.net/projects/fonts-tlwg;
|
||||||
|
license = with licenses; [ gpl2 publicDomain lppl13c free ];
|
||||||
|
platforms = platforms.unix;
|
||||||
|
maintainers = [ maintainers.yrashk ];
|
||||||
|
};
|
||||||
|
}
|
@ -8,11 +8,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "efl-${version}";
|
name = "efl-${version}";
|
||||||
version = "1.20.5";
|
version = "1.20.6";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://download.enlightenment.org/rel/libs/efl/${name}.tar.xz";
|
url = "http://download.enlightenment.org/rel/libs/efl/${name}.tar.xz";
|
||||||
sha256 = "07624c71l9d1jx1zvdhwkr1bgb1n7i0i5hyg6579zdwl3jw6jpns";
|
sha256 = "1h9jkb1pkp2g6ld7ra9mxgblx3x5id4162ja697klx9mfjkpxijn";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
@ -6,11 +6,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "enlightenment-${version}";
|
name = "enlightenment-${version}";
|
||||||
version = "0.22.0";
|
version = "0.22.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://download.enlightenment.org/rel/apps/enlightenment/${name}.tar.xz";
|
url = "http://download.enlightenment.org/rel/apps/enlightenment/${name}.tar.xz";
|
||||||
sha256 = "0xmrvryr35idd7fyqgshfhvy2053bs3vwrxbx681pi6rgpdvjghv";
|
sha256 = "1q57fz57d0b26z06m1wiq7c1sniwh885b0vs02mk4jgwva46nyr0";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -24,6 +24,11 @@
|
|||||||
let
|
let
|
||||||
src = fetch "llvm" "0l9bf7kdwhlj0kq1hawpyxhna1062z3h7qcz2y8nfl9dz2qksy6s";
|
src = fetch "llvm" "0l9bf7kdwhlj0kq1hawpyxhna1062z3h7qcz2y8nfl9dz2qksy6s";
|
||||||
|
|
||||||
|
aarch64Patch = fetchpatch {
|
||||||
|
url = https://reviews.llvm.org/file/data/2oqw5rhhklsapbjrhlpd/PHID-FILE-lvo4fcs6hjvkxb5wneg2/D40423.diff;
|
||||||
|
sha256 = "0b0h7n7lxw33pn2j061hm9050zn263gmiig937g5cmcvjimxlybb";
|
||||||
|
};
|
||||||
|
|
||||||
# Used when creating a version-suffixed symlink of libLLVM.dylib
|
# Used when creating a version-suffixed symlink of libLLVM.dylib
|
||||||
shortVersion = with stdenv.lib;
|
shortVersion = with stdenv.lib;
|
||||||
concatStringsSep "." (take 2 (splitString "." release_version));
|
concatStringsSep "." (take 2 (splitString "." release_version));
|
||||||
@ -81,6 +86,8 @@ in stdenv.mkDerivation rec {
|
|||||||
substituteInPlace lib/esan/esan_sideline_linux.cpp \
|
substituteInPlace lib/esan/esan_sideline_linux.cpp \
|
||||||
--replace 'struct sigaltstack' 'stack_t'
|
--replace 'struct sigaltstack' 'stack_t'
|
||||||
)
|
)
|
||||||
|
'' + stdenv.lib.optionalString stdenv.isAarch64 ''
|
||||||
|
patch -p0 < ${aarch64Patch}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# hacky fix: created binaries need to be run before installation
|
# hacky fix: created binaries need to be run before installation
|
||||||
|
@ -24,6 +24,11 @@
|
|||||||
let
|
let
|
||||||
src = fetch "llvm" "1nin64vz21hyng6jr19knxipvggaqlkl2l9jpd5czbc4c2pcnpg3";
|
src = fetch "llvm" "1nin64vz21hyng6jr19knxipvggaqlkl2l9jpd5czbc4c2pcnpg3";
|
||||||
|
|
||||||
|
aarch64Patch = fetchpatch {
|
||||||
|
url = https://reviews.llvm.org/file/data/2oqw5rhhklsapbjrhlpd/PHID-FILE-lvo4fcs6hjvkxb5wneg2/D40423.diff;
|
||||||
|
sha256 = "0b0h7n7lxw33pn2j061hm9050zn263gmiig937g5cmcvjimxlybb";
|
||||||
|
};
|
||||||
|
|
||||||
# Used when creating a version-suffixed symlink of libLLVM.dylib
|
# Used when creating a version-suffixed symlink of libLLVM.dylib
|
||||||
shortVersion = with stdenv.lib;
|
shortVersion = with stdenv.lib;
|
||||||
concatStringsSep "." (take 2 (splitString "." release_version));
|
concatStringsSep "." (take 2 (splitString "." release_version));
|
||||||
@ -75,6 +80,8 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
# Revert compiler-rt commit that makes codesign mandatory
|
# Revert compiler-rt commit that makes codesign mandatory
|
||||||
patch -p1 -i ${./compiler-rt-codesign.patch} -d projects/compiler-rt
|
patch -p1 -i ${./compiler-rt-codesign.patch} -d projects/compiler-rt
|
||||||
|
'' + stdenv.lib.optionalString stdenv.isAarch64 ''
|
||||||
|
patch -p0 < ${aarch64Patch}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# hacky fix: created binaries need to be run before installation
|
# hacky fix: created binaries need to be run before installation
|
||||||
|
@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0jz2ayadx62zv2b5ji947bkvw63axl4a2q70lwli86zgmcl390gf";
|
sha256 = "0jz2ayadx62zv2b5ji947bkvw63axl4a2q70lwli86zgmcl390gf";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [ ./ignore-complex-float128.patch ];
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
patchShebangs .
|
patchShebangs .
|
||||||
'';
|
'';
|
||||||
|
@ -0,0 +1,37 @@
|
|||||||
|
--- a/src/frontc/clexer.mll
|
||||||
|
+++ b/src/frontc/clexer.mll
|
||||||
|
@@ -134,9 +134,11 @@ let init_lexicon _ =
|
||||||
|
(* WW: see /usr/include/sys/cdefs.h for why __signed and __volatile
|
||||||
|
* are accepted GCC-isms *)
|
||||||
|
("_Bool", fun loc -> BOOL loc);
|
||||||
|
+ ("_Complex", fun loc -> COMPLEX loc);
|
||||||
|
("char", fun loc -> CHAR loc);
|
||||||
|
("int", fun loc -> INT loc);
|
||||||
|
("float", fun loc -> FLOAT loc);
|
||||||
|
+ ("__float128", fun loc -> FLOAT128 loc);
|
||||||
|
("double", fun loc -> DOUBLE loc);
|
||||||
|
("void", fun loc -> VOID loc);
|
||||||
|
("enum", fun loc -> ENUM loc);
|
||||||
|
--- a/src/frontc/cparser.mly
|
||||||
|
+++ b/src/frontc/cparser.mly
|
||||||
|
@@ -269,6 +269,8 @@ let oblivState (s:statement): statement =
|
||||||
|
%token<Cabs.cabsloc> VOLATILE EXTERN STATIC CONST RESTRICT AUTO REGISTER FROZEN
|
||||||
|
%token<Cabs.cabsloc> THREAD
|
||||||
|
|
||||||
|
+%token<Cabs.cabsloc> COMPLEX FLOAT128
|
||||||
|
+
|
||||||
|
%token<Cabs.cabsloc> SIZEOF ALIGNOF
|
||||||
|
|
||||||
|
%token EQ PLUS_EQ MINUS_EQ STAR_EQ SLASH_EQ PERCENT_EQ
|
||||||
|
@@ -1002,7 +1004,11 @@ type_spec: /* ISO 6.7.2 */
|
||||||
|
| LONG { Tlong, $1 }
|
||||||
|
| INT64 { Tint64, $1 }
|
||||||
|
| FLOAT { Tfloat, $1 }
|
||||||
|
+| FLOAT128 { Tfloat, $1 }
|
||||||
|
| DOUBLE { Tdouble, $1 }
|
||||||
|
+| COMPLEX FLOAT { Tfloat, $2 }
|
||||||
|
+| COMPLEX FLOAT128{ Tfloat, $2 }
|
||||||
|
+| COMPLEX DOUBLE { Tdouble, $2 }
|
||||||
|
| SIGNED { Tsigned, $1 }
|
||||||
|
| UNSIGNED { Tunsigned, $1 }
|
||||||
|
| STRUCT id_or_typename
|
@ -62,9 +62,7 @@ rec {
|
|||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
make install PREFIX="$out"
|
make install PREFIX="$out"
|
||||||
for file in "$out"/include/luajit-*/*.h; do
|
( cd "$out/include"; ln -s luajit-*/* . )
|
||||||
ln -s $file "$out"/include/.
|
|
||||||
done
|
|
||||||
ln -s "$out"/bin/luajit-* "$out"/bin/lua
|
ln -s "$out"/bin/luajit-* "$out"/bin/lua
|
||||||
''
|
''
|
||||||
+ stdenv.lib.optionalString (!isStable)
|
+ stdenv.lib.optionalString (!isStable)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, SDL2, libpng, libjpeg, libtiff, libungif, libXpm, zlib }:
|
{ stdenv, fetchurl, SDL2, libpng, libjpeg, libtiff, libungif, libXpm, zlib, Foundation }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "SDL2_image-${version}";
|
name = "SDL2_image-${version}";
|
||||||
@ -9,12 +9,15 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1s3ciydixrgv34vlf45ak5syq5nlfaqf19wf162lbz4ixxd0gpvj";
|
sha256 = "1s3ciydixrgv34vlf45ak5syq5nlfaqf19wf162lbz4ixxd0gpvj";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ SDL2 libpng libjpeg libtiff libungif libXpm zlib ];
|
buildInputs = [ SDL2 libpng libjpeg libtiff libungif libXpm zlib ]
|
||||||
|
++ stdenv.lib.optional stdenv.isDarwin Foundation;
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "SDL image library";
|
description = "SDL image library";
|
||||||
homepage = http://www.libsdl.org/projects/SDL_image/;
|
homepage = http://www.libsdl.org/projects/SDL_image/;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
license = licenses.zlib;
|
license = licenses.zlib;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,44 +0,0 @@
|
|||||||
{stdenv, fetchurl, freetype, mesa}:
|
|
||||||
|
|
||||||
let
|
|
||||||
name = "ftgl-2.1.2";
|
|
||||||
in
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
inherit name;
|
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = "mirror://sourceforge/ftgl/${name}.tar.gz";
|
|
||||||
sha256 = "0xa00fnn6wd3rnkrkcs1wpv21lxdsb83r4hjn3l33dn0zbawnn97";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = [freetype mesa];
|
|
||||||
|
|
||||||
NIX_LDFLAGS = "-lGLU -lGL";
|
|
||||||
|
|
||||||
patches = [ ./gcc.patch ];
|
|
||||||
|
|
||||||
configureFlags = "--enable-shared";
|
|
||||||
|
|
||||||
preConfigure = ''
|
|
||||||
cd unix
|
|
||||||
cd docs
|
|
||||||
tar vxf ../../docs/html.tar.gz
|
|
||||||
cd ..
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = https://sourceforge.net/apps/mediawiki/ftgl/;
|
|
||||||
description = "Font rendering library for OpenGL applications";
|
|
||||||
license = stdenv.lib.licenses.gpl3Plus;
|
|
||||||
|
|
||||||
longDescription = ''
|
|
||||||
FTGL is a free cross-platform Open Source C++ library that uses
|
|
||||||
Freetype2 to simplify rendering fonts in OpenGL applications. FTGL
|
|
||||||
supports bitmaps, pixmaps, texture maps, outlines, polygon mesh,
|
|
||||||
and extruded polygon rendering modes.
|
|
||||||
'';
|
|
||||||
|
|
||||||
platforms = stdenv.lib.platforms.gnu;
|
|
||||||
maintainers = [];
|
|
||||||
};
|
|
||||||
}
|
|
@ -13,6 +13,8 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
buildInputs = [ freetype mesa ];
|
buildInputs = [ freetype mesa ];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = https://sourceforge.net/apps/mediawiki/ftgl/;
|
homepage = https://sourceforge.net/apps/mediawiki/ftgl/;
|
||||||
description = "Font rendering library for OpenGL applications";
|
description = "Font rendering library for OpenGL applications";
|
||||||
@ -25,7 +27,7 @@ stdenv.mkDerivation {
|
|||||||
and extruded polygon rendering modes.
|
and extruded polygon rendering modes.
|
||||||
'';
|
'';
|
||||||
|
|
||||||
platforms = stdenv.lib.platforms.gnu;
|
platforms = stdenv.lib.platforms.unix;
|
||||||
maintainers = [];
|
maintainers = [];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
diff --git a/include/FTTextureGlyph.h b/include/FTTextureGlyph.h
|
|
||||||
index c263f72..8959cb3 100755
|
|
||||||
--- a/include/FTTextureGlyph.h
|
|
||||||
+++ b/include/FTTextureGlyph.h
|
|
||||||
@@ -52,7 +52,7 @@ class FTGL_EXPORT FTTextureGlyph : public FTGlyph
|
|
||||||
* Reset the currently active texture to zero to get into a known state before
|
|
||||||
* drawing a string. This is to get round possible threading issues.
|
|
||||||
*/
|
|
||||||
- static void FTTextureGlyph::ResetActiveTexture(){ activeTextureID = 0;}
|
|
||||||
+ static void ResetActiveTexture(){ activeTextureID = 0;}
|
|
||||||
|
|
||||||
private:
|
|
||||||
/**
|
|
@ -19,6 +19,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
sed -i 's|lib64|lib|' config/Makefile.linux
|
sed -i 's|lib64|lib|' config/Makefile.linux
|
||||||
|
substituteInPlace config/Makefile.darwin --replace /usr/local "$out"
|
||||||
${optionalString (hostPlatform != buildPlatform) ''
|
${optionalString (hostPlatform != buildPlatform) ''
|
||||||
sed -i -e 's/\(INSTALL.*\)-s/\1/' Makefile
|
sed -i -e 's/\(INSTALL.*\)-s/\1/' Makefile
|
||||||
''}
|
''}
|
||||||
@ -43,6 +44,8 @@ stdenv.mkDerivation rec {
|
|||||||
"SYSTEM=${if hostPlatform.isMinGW then "mingw" else hostPlatform.parsed.kernel.name}"
|
"SYSTEM=${if hostPlatform.isMinGW then "mingw" else hostPlatform.parsed.kernel.name}"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "An OpenGL extension loading library for C(++)";
|
description = "An OpenGL extension loading library for C(++)";
|
||||||
homepage = http://glew.sourceforge.net/;
|
homepage = http://glew.sourceforge.net/;
|
||||||
|
@ -1,33 +1,42 @@
|
|||||||
{ lib, stdenv, fetchurl, pkgconfig, libpulseaudio, alsaLib, libcap
|
{ stdenv, lib, fetchFromGitHub, autoreconfHook, pkgconfig, libpulseaudio, alsaLib, libcap
|
||||||
, CoreAudio, CoreServices, AudioUnit
|
, CoreAudio, CoreServices, AudioUnit
|
||||||
, usePulseAudio }:
|
, usePulseAudio }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.2.0";
|
version = "1.2.2";
|
||||||
name = "libao-${version}";
|
name = "libao-${version}";
|
||||||
src = fetchurl {
|
|
||||||
url = "http://downloads.xiph.org/releases/ao/${name}.tar.gz";
|
# the github mirror is more up to date than downloads.xiph.org
|
||||||
sha256 = "1bwwv1g9lchaq6qmhvj1pp3hnyqr64ydd4j38x94pmprs4d27b83";
|
src = fetchFromGitHub {
|
||||||
|
owner = "xiph";
|
||||||
|
repo = "libao";
|
||||||
|
rev = "${version}";
|
||||||
|
sha256 = "0svgk4sc9kdhcsfyvbvgm5vpbg3sfr6z5rliflrw49v3x2i4vxq5";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
configureFlags = [
|
||||||
|
"--disable-broken-oss"
|
||||||
|
"--enable-alsa-mmap"
|
||||||
|
];
|
||||||
|
|
||||||
outputs = [ "out" "dev" "man" "doc" ];
|
outputs = [ "out" "dev" "man" "doc" ];
|
||||||
|
|
||||||
buildInputs =
|
buildInputs = [ ] ++
|
||||||
[ pkgconfig ] ++
|
|
||||||
lib.optional usePulseAudio libpulseaudio ++
|
lib.optional usePulseAudio libpulseaudio ++
|
||||||
lib.optional stdenv.isLinux alsaLib ++
|
lib.optionals stdenv.isLinux [ alsaLib libcap ] ++
|
||||||
lib.optional stdenv.isLinux libcap ++
|
|
||||||
lib.optionals stdenv.isDarwin [ CoreAudio CoreServices AudioUnit ];
|
lib.optionals stdenv.isDarwin [ CoreAudio CoreServices AudioUnit ];
|
||||||
|
|
||||||
meta = {
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
Libao is Xiph.org's cross-platform audio library that allows
|
Libao is Xiph.org's cross-platform audio library that allows
|
||||||
programs to output audio using a simple API on a wide variety of
|
programs to output audio using a simple API on a wide variety of
|
||||||
platforms.
|
platforms.
|
||||||
'';
|
'';
|
||||||
homepage = https://xiph.org/ao/;
|
homepage = https://xiph.org/ao/;
|
||||||
license = stdenv.lib.licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
|
maintainers = with maintainers; [ fuuzetsu ];
|
||||||
platforms = with stdenv.lib.platforms; unix;
|
platforms = with platforms; unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
36
pkgs/development/ocaml-modules/cstruct/1.9.0.nix
Normal file
36
pkgs/development/ocaml-modules/cstruct/1.9.0.nix
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
{ stdenv, writeText, fetchFromGitHub, ocaml, ocamlbuild, ocplib-endian, sexplib, findlib, ppx_tools
|
||||||
|
, async ? null, lwt ? null
|
||||||
|
}:
|
||||||
|
|
||||||
|
assert stdenv.lib.versionAtLeast ocaml.version "4.01";
|
||||||
|
|
||||||
|
let version = "1.9.0"; in
|
||||||
|
|
||||||
|
let opt = b: "--${if b != null then "en" else "dis"}able"; in
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "ocaml${ocaml.version}-cstruct-${version}";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "mirage";
|
||||||
|
repo = "ocaml-cstruct";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1c1j21zgmxi9spq23imy7byn50qr7hlds1cfpzxlsx9dp309jngy";
|
||||||
|
};
|
||||||
|
|
||||||
|
configureFlags = [ "${opt lwt}-lwt" "${opt async}-async" "${opt ppx_tools}-ppx" ];
|
||||||
|
|
||||||
|
buildInputs = [ ocaml findlib ocamlbuild ppx_tools lwt async ];
|
||||||
|
propagatedBuildInputs = [ ocplib-endian sexplib ];
|
||||||
|
|
||||||
|
createFindlibDestdir = true;
|
||||||
|
dontStrip = true;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/mirage/ocaml-cstruct;
|
||||||
|
description = "Map OCaml arrays onto C-like structs";
|
||||||
|
license = stdenv.lib.licenses.isc;
|
||||||
|
maintainers = [ maintainers.vbgl maintainers.ericbmerritt ];
|
||||||
|
platforms = ocaml.meta.platforms or [];
|
||||||
|
};
|
||||||
|
}
|
@ -1,40 +1,28 @@
|
|||||||
{ stdenv, writeText, fetchFromGitHub, ocaml, ocamlbuild, ocplib-endian, sexplib, findlib, ppx_tools
|
{ stdenv, fetchurl, ocaml, jbuilder, findlib, sexplib, ocplib-endian }:
|
||||||
, async ? null, lwt ? null
|
|
||||||
}:
|
|
||||||
|
|
||||||
assert stdenv.lib.versionAtLeast ocaml.version "4.01";
|
stdenv.mkDerivation rec {
|
||||||
|
name = "ocaml${ocaml.version}-cstruct-${version}";
|
||||||
let param =
|
version = "3.0.2";
|
||||||
if stdenv.lib.versionAtLeast ocaml.version "4.02"
|
src = fetchurl {
|
||||||
then { version = "2.3.2"; sha256 = "1fykack86hvvqhwngddyxxqlwm3xjljfaszsjbdrvjlrd1nlg079"; }
|
url = "https://github.com/mirage/ocaml-cstruct/releases/download/v${version}/cstruct-${version}.tbz";
|
||||||
else { version = "1.9.0"; sha256 = "1c1j21zgmxi9spq23imy7byn50qr7hlds1cfpzxlsx9dp309jngy"; };
|
sha256 = "03caxcyzfjmbnnwa15zy9s1ckkl4sc834d1qkgi4jcs3zqchvd8z";
|
||||||
in
|
|
||||||
|
|
||||||
let opt = b: "--${if b != null then "en" else "dis"}able"; in
|
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
name = "ocaml${ocaml.version}-cstruct-${param.version}";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "mirage";
|
|
||||||
repo = "ocaml-cstruct";
|
|
||||||
rev = "v${param.version}";
|
|
||||||
inherit (param) sha256;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
configureFlags = [ "${opt lwt}-lwt" "${opt async}-async" "${opt ppx_tools}-ppx" ];
|
unpackCmd = "tar -xjf $curSrc";
|
||||||
|
|
||||||
buildInputs = [ ocaml findlib ocamlbuild ppx_tools lwt async ];
|
buildInputs = [ ocaml jbuilder findlib ];
|
||||||
propagatedBuildInputs = [ ocplib-endian sexplib ];
|
|
||||||
|
|
||||||
createFindlibDestdir = true;
|
propagatedBuildInputs = [ sexplib ocplib-endian ];
|
||||||
dontStrip = true;
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
buildPhase = "jbuilder build -p cstruct";
|
||||||
homepage = https://github.com/mirage/ocaml-cstruct;
|
|
||||||
description = "Map OCaml arrays onto C-like structs";
|
inherit (jbuilder) installPhase;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Access C-like structures directly from OCaml";
|
||||||
license = stdenv.lib.licenses.isc;
|
license = stdenv.lib.licenses.isc;
|
||||||
maintainers = [ maintainers.vbgl maintainers.ericbmerritt ];
|
homepage = "https://github.com/mirage/ocaml-cstruct";
|
||||||
platforms = ocaml.meta.platforms or [];
|
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
||||||
|
inherit (ocaml.meta) platforms;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
12
pkgs/development/ocaml-modules/cstruct/lwt.nix
Normal file
12
pkgs/development/ocaml-modules/cstruct/lwt.nix
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{ stdenv, ocaml, cstruct, lwt }:
|
||||||
|
|
||||||
|
assert stdenv.lib.versionAtLeast ocaml.version "4.02";
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "ocaml${ocaml.version}-cstruct-lwt-${version}";
|
||||||
|
inherit (cstruct) version src unpackCmd buildInputs installPhase meta;
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ cstruct lwt ];
|
||||||
|
|
||||||
|
buildPhase = "${cstruct.buildPhase}-lwt";
|
||||||
|
}
|
13
pkgs/development/ocaml-modules/cstruct/ppx.nix
Normal file
13
pkgs/development/ocaml-modules/cstruct/ppx.nix
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{ stdenv, ocaml, cstruct, ppx_tools_versioned }:
|
||||||
|
|
||||||
|
assert stdenv.lib.versionAtLeast ocaml.version "4.02";
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "ocaml${ocaml.version}-ppx_cstruct-${version}";
|
||||||
|
inherit (cstruct) version src unpackCmd installPhase meta;
|
||||||
|
|
||||||
|
buildInputs = cstruct.buildInputs ++ [ ppx_tools_versioned ];
|
||||||
|
propagatedBuildInputs = [ cstruct ];
|
||||||
|
|
||||||
|
buildPhase = "jbuilder build -p ppx_cstruct";
|
||||||
|
}
|
12
pkgs/development/ocaml-modules/cstruct/unix.nix
Normal file
12
pkgs/development/ocaml-modules/cstruct/unix.nix
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{ stdenv, ocaml, cstruct }:
|
||||||
|
|
||||||
|
assert stdenv.lib.versionAtLeast ocaml.version "4.02";
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "ocaml${ocaml.version}-cstruct-unix-${version}";
|
||||||
|
inherit (cstruct) version src unpackCmd buildInputs installPhase meta;
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ cstruct ];
|
||||||
|
|
||||||
|
buildPhase = "${cstruct.buildPhase}-unix";
|
||||||
|
}
|
@ -1,11 +1,11 @@
|
|||||||
{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, opam, topkg
|
{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, opam, topkg
|
||||||
, cpuid, ocb-stubblr
|
, cpuid, ocb-stubblr
|
||||||
, cstruct, zarith, ppx_sexp_conv, sexplib
|
, cstruct, zarith, ppx_sexp_conv, sexplib
|
||||||
, lwt ? null
|
, cstruct-lwt ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
let withLwt = lwt != null; in
|
let withLwt = cstruct-lwt != null; in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ocaml${ocaml.version}-nocrypto-${version}";
|
name = "ocaml${ocaml.version}-nocrypto-${version}";
|
||||||
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ ocaml findlib ocamlbuild topkg opam cpuid ocb-stubblr
|
buildInputs = [ ocaml findlib ocamlbuild topkg opam cpuid ocb-stubblr
|
||||||
ppx_sexp_conv ];
|
ppx_sexp_conv ];
|
||||||
propagatedBuildInputs = [ cstruct zarith sexplib ] ++ optional withLwt lwt;
|
propagatedBuildInputs = [ cstruct zarith sexplib ] ++ optional withLwt cstruct-lwt;
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
LD_LIBRARY_PATH=${cpuid}/lib/ocaml/${ocaml.version}/site-lib/stubslibs/ \
|
LD_LIBRARY_PATH=${cpuid}/lib/ocaml/${ocaml.version}/site-lib/stubslibs/ \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{stdenv, buildOcaml, fetchFromGitHub, ocamlbuild, findlib, topkg, ocaml, opam,
|
{stdenv, buildOcaml, fetchFromGitHub, ocamlbuild, findlib, topkg, ocaml, opam,
|
||||||
ppx_tools, ppx_sexp_conv, cstruct, sexplib, result, nocrypto, astring}:
|
ppx_tools, ppx_sexp_conv, cstruct, ppx_cstruct, sexplib, result, nocrypto, astring}:
|
||||||
|
|
||||||
let ocamlFlags = "-I ${findlib}/lib/ocaml/${ocaml.version}/site-lib/"; in
|
let ocamlFlags = "-I ${findlib}/lib/ocaml/${ocaml.version}/site-lib/"; in
|
||||||
|
|
||||||
@ -16,7 +16,7 @@ buildOcaml rec {
|
|||||||
sha256 = "07zzix5mfsasqpqdx811m0x04gp8mq1ayf4b64998k98027v01rr";
|
sha256 = "07zzix5mfsasqpqdx811m0x04gp8mq1ayf4b64998k98027v01rr";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ocamlbuild findlib topkg ppx_tools ppx_sexp_conv opam ];
|
buildInputs = [ ocamlbuild findlib topkg ppx_tools ppx_sexp_conv opam ppx_cstruct ];
|
||||||
propagatedBuildInputs = [ cstruct sexplib result nocrypto astring ];
|
propagatedBuildInputs = [ cstruct sexplib result nocrypto astring ];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, buildOcaml, fetchFromGitHub, findlib, ocamlbuild, ocaml_oasis
|
{ stdenv, buildOcaml, fetchFromGitHub, findlib, ocamlbuild, ocaml_oasis
|
||||||
, ppx_tools, ppx_sexp_conv, result, x509, nocrypto, cstruct, ounit
|
, ppx_tools, ppx_sexp_conv, result, x509, nocrypto, cstruct, ppx_cstruct, cstruct-unix, ounit
|
||||||
, lwt ? null}:
|
, lwt ? null}:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
@ -19,7 +19,7 @@ buildOcaml rec {
|
|||||||
sha256 = "19q2hzxiasz9pzczgb63kikg0mc9mw98dfvch5falf2rincycj24";
|
sha256 = "19q2hzxiasz9pzczgb63kikg0mc9mw98dfvch5falf2rincycj24";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ocamlbuild findlib ocaml_oasis ppx_sexp_conv ounit ];
|
buildInputs = [ ocamlbuild findlib ocaml_oasis ppx_sexp_conv ounit ppx_cstruct cstruct-unix ];
|
||||||
propagatedBuildInputs = [ cstruct nocrypto result x509 ] ++
|
propagatedBuildInputs = [ cstruct nocrypto result x509 ] ++
|
||||||
optional withLwt lwt;
|
optional withLwt lwt;
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
{stdenv, buildOcaml, fetchFromGitHub, ocaml, findlib, asn1-combinators, nocrypto, ounit, ocaml_oasis, ppx_sexp_conv}:
|
{ stdenv, buildOcaml, fetchFromGitHub, ocaml, findlib, asn1-combinators, nocrypto
|
||||||
|
, ounit, ocaml_oasis, ppx_sexp_conv, cstruct-unix
|
||||||
|
}:
|
||||||
|
|
||||||
buildOcaml rec {
|
buildOcaml rec {
|
||||||
name = "x509";
|
name = "x509";
|
||||||
@ -13,7 +15,7 @@ buildOcaml rec {
|
|||||||
sha256 = "07cc3z6h87460z3f4vz8nlczw5jkc4vjhix413z9x6nral876rn7";
|
sha256 = "07cc3z6h87460z3f4vz8nlczw5jkc4vjhix413z9x6nral876rn7";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ocaml ocaml_oasis findlib ounit ppx_sexp_conv ];
|
buildInputs = [ ocaml ocaml_oasis findlib ounit ppx_sexp_conv cstruct-unix ];
|
||||||
propagatedBuildInputs = [ asn1-combinators nocrypto ];
|
propagatedBuildInputs = [ asn1-combinators nocrypto ];
|
||||||
|
|
||||||
configureFlags = "--enable-tests";
|
configureFlags = "--enable-tests";
|
||||||
|
@ -1,16 +1,26 @@
|
|||||||
{ stdenv, fetchzip, ocaml, findlib, cppo, easy-format, biniou }:
|
{ stdenv, fetchzip, ocaml, findlib, jbuilder, cppo, easy-format, biniou }:
|
||||||
let
|
let
|
||||||
pname = "yojson";
|
pname = "yojson";
|
||||||
param =
|
param =
|
||||||
if stdenv.lib.versionAtLeast ocaml.version "4.01" then {
|
if stdenv.lib.versionAtLeast ocaml.version "4.02" then {
|
||||||
version = "1.3.3";
|
version = "1.4.0";
|
||||||
sha256 = "02l11facbr6bxrxq95vrcp1dxapp02kv7g4gq8rm62pb3dj5c6g7";
|
sha256 = "0rzn4yihfi0psd2qmgrx5fvwpby87sqx4zws3ijf49f7wbpycccv";
|
||||||
|
buildInputs = [ jbuilder ];
|
||||||
|
extra = { inherit (jbuilder) installPhase; };
|
||||||
} else {
|
} else {
|
||||||
version = "1.2.3";
|
version = "1.2.3";
|
||||||
sha256 = "10dvkndgwanvw4agbjln7kgb1n9s6lii7jw82kwxczl5rd1sgmvl";
|
sha256 = "10dvkndgwanvw4agbjln7kgb1n9s6lii7jw82kwxczl5rd1sgmvl";
|
||||||
|
buildInputs = [];
|
||||||
|
extra = {
|
||||||
|
createFindlibDestdir = true;
|
||||||
|
|
||||||
|
makeFlags = "PREFIX=$(out)";
|
||||||
|
|
||||||
|
preBuild = "mkdir $out/bin";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation ({
|
||||||
|
|
||||||
name = "ocaml${ocaml.version}-${pname}-${param.version}";
|
name = "ocaml${ocaml.version}-${pname}-${param.version}";
|
||||||
|
|
||||||
@ -19,18 +29,10 @@ stdenv.mkDerivation {
|
|||||||
inherit (param) sha256;
|
inherit (param) sha256;
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ocaml findlib ];
|
buildInputs = [ ocaml findlib ] ++ param.buildInputs;
|
||||||
|
|
||||||
propagatedBuildInputs = [ cppo easy-format biniou ];
|
propagatedBuildInputs = [ cppo easy-format biniou ];
|
||||||
|
|
||||||
createFindlibDestdir = true;
|
|
||||||
|
|
||||||
makeFlags = "PREFIX=$(out)";
|
|
||||||
|
|
||||||
preBuild = ''
|
|
||||||
mkdir $out/bin
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "An optimized parsing and printing library for the JSON format";
|
description = "An optimized parsing and printing library for the JSON format";
|
||||||
homepage = "http://mjambon.com/${pname}.html";
|
homepage = "http://mjambon.com/${pname}.html";
|
||||||
@ -38,4 +40,4 @@ stdenv.mkDerivation {
|
|||||||
maintainers = [ maintainers.vbgl ];
|
maintainers = [ maintainers.vbgl ];
|
||||||
platforms = ocaml.meta.platforms or [];
|
platforms = ocaml.meta.platforms or [];
|
||||||
};
|
};
|
||||||
}
|
} // param.extra)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, isPy3k
|
, fetchpatch
|
||||||
, zope_interface
|
, zope_interface
|
||||||
, zope_exceptions
|
, zope_exceptions
|
||||||
, zope_testing
|
, zope_testing
|
||||||
@ -11,15 +11,15 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "zope.testrunner";
|
pname = "zope.testrunner";
|
||||||
version = "4.7.0";
|
version = "4.8.1";
|
||||||
name = "${pname}-${version}";
|
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "8ffcb4989829544a83d27e42b2eeb28f8fc134bd847d71ce8dca54f710526ef0";
|
sha256 = "039z9q5i1r6fqzlm224nmaxn896k4a9sb1237dv406ncdldd7jaz";
|
||||||
extension = "zip";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [ ./test-selection.patch ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ zope_interface zope_exceptions zope_testing six ];
|
propagatedBuildInputs = [ zope_interface zope_exceptions zope_testing six ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
--- a/src/zope/testrunner/tests/testrunner-test-selection.txt
|
||||||
|
+++ b/src/zope/testrunner/tests/testrunner-test-selection.txt
|
||||||
|
@@ -235 +235 @@ and by test within the module using the --test (-t) option:
|
||||||
|
- >>> sys.argv = 'test -u -vv -ssample1 -m_one -mtest1 -tx0 -ty0'.split()
|
||||||
|
+ >>> sys.argv = 'test -u -vv -ssample1 -m_one -mtest1 -t_x0 -t_y0'.split()
|
@ -1,33 +1,27 @@
|
|||||||
GEM
|
GEM
|
||||||
remote: https://rubygems.org/
|
remote: https://rubygems.org/
|
||||||
specs:
|
specs:
|
||||||
addressable (2.5.1)
|
addressable (2.5.2)
|
||||||
public_suffix (~> 2.0, >= 2.0.2)
|
public_suffix (>= 2.0.2, < 4.0)
|
||||||
app_conf (0.4.2)
|
app_conf (0.4.2)
|
||||||
artifactory (2.8.1)
|
|
||||||
ast (2.3.0)
|
ast (2.3.0)
|
||||||
backports (3.7.0)
|
backports (3.10.3)
|
||||||
berkshelf (5.6.4)
|
berkshelf (6.3.1)
|
||||||
addressable (~> 2.3, >= 2.3.4)
|
|
||||||
berkshelf-api-client (>= 2.0.2, < 4.0)
|
|
||||||
buff-config (~> 2.0)
|
buff-config (~> 2.0)
|
||||||
buff-extensions (~> 2.0)
|
buff-extensions (~> 2.0)
|
||||||
buff-shell_out (~> 1.0)
|
chef (>= 12.7.2)
|
||||||
cleanroom (~> 1.0)
|
cleanroom (~> 1.0)
|
||||||
|
concurrent-ruby (~> 1.0)
|
||||||
faraday (~> 0.9)
|
faraday (~> 0.9)
|
||||||
httpclient (~> 2.7)
|
httpclient (~> 2.7)
|
||||||
minitar (~> 0.5, >= 0.5.4)
|
minitar (~> 0.5, >= 0.5.4)
|
||||||
mixlib-archive (~> 0.4)
|
mixlib-archive (~> 0.4)
|
||||||
|
mixlib-shellout (~> 2.0)
|
||||||
octokit (~> 4.0)
|
octokit (~> 4.0)
|
||||||
retryable (~> 2.0)
|
retryable (~> 2.0)
|
||||||
ridley (~> 5.0)
|
ridley (~> 5.0)
|
||||||
solve (> 2.0, < 4.0)
|
solve (~> 4.0)
|
||||||
thor (~> 0.19, < 0.19.2)
|
thor (~> 0.19, < 0.19.2)
|
||||||
berkshelf-api-client (3.0.0)
|
|
||||||
faraday (~> 0.9)
|
|
||||||
httpclient (~> 2.7)
|
|
||||||
ridley (>= 4.5, < 6.0)
|
|
||||||
blankslate (2.1.2.4)
|
|
||||||
buff-config (2.0.0)
|
buff-config (2.0.0)
|
||||||
buff-extensions (~> 2.0)
|
buff-extensions (~> 2.0)
|
||||||
varia_model (~> 0.6)
|
varia_model (~> 0.6)
|
||||||
@ -42,16 +36,17 @@ GEM
|
|||||||
celluloid-io (0.16.2)
|
celluloid-io (0.16.2)
|
||||||
celluloid (>= 0.16.0)
|
celluloid (>= 0.16.0)
|
||||||
nio4r (>= 1.1.0)
|
nio4r (>= 1.1.0)
|
||||||
chef (12.19.36)
|
chef (13.6.4)
|
||||||
addressable
|
addressable
|
||||||
bundler (>= 1.10)
|
bundler (>= 1.10)
|
||||||
chef-config (= 12.19.36)
|
chef-config (= 13.6.4)
|
||||||
chef-zero (>= 4.8)
|
chef-zero (>= 13.0)
|
||||||
diff-lcs (~> 1.2, >= 1.2.4)
|
diff-lcs (~> 1.2, >= 1.2.4)
|
||||||
erubis (~> 2.7)
|
erubis (~> 2.7)
|
||||||
ffi-yajl (~> 2.2)
|
ffi-yajl (~> 2.2)
|
||||||
highline (~> 1.6, >= 1.6.9)
|
highline (~> 1.6, >= 1.6.9)
|
||||||
iniparse (~> 1.4)
|
iniparse (~> 1.4)
|
||||||
|
iso8601 (~> 0.9.1)
|
||||||
mixlib-archive (~> 0.4)
|
mixlib-archive (~> 0.4)
|
||||||
mixlib-authentication (~> 1.4)
|
mixlib-authentication (~> 1.4)
|
||||||
mixlib-cli (~> 1.7)
|
mixlib-cli (~> 1.7)
|
||||||
@ -60,7 +55,7 @@ GEM
|
|||||||
net-sftp (~> 2.1, >= 2.1.2)
|
net-sftp (~> 2.1, >= 2.1.2)
|
||||||
net-ssh (>= 2.9, < 5.0)
|
net-ssh (>= 2.9, < 5.0)
|
||||||
net-ssh-multi (~> 1.2, >= 1.2.1)
|
net-ssh-multi (~> 1.2, >= 1.2.1)
|
||||||
ohai (>= 8.6.0.alpha.1, < 13)
|
ohai (~> 13.0)
|
||||||
plist (~> 3.2)
|
plist (~> 3.2)
|
||||||
proxifier (~> 1.0)
|
proxifier (~> 1.0)
|
||||||
rspec-core (~> 3.5)
|
rspec-core (~> 3.5)
|
||||||
@ -71,14 +66,14 @@ GEM
|
|||||||
specinfra (~> 2.10)
|
specinfra (~> 2.10)
|
||||||
syslog-logger (~> 1.6)
|
syslog-logger (~> 1.6)
|
||||||
uuidtools (~> 2.1.5)
|
uuidtools (~> 2.1.5)
|
||||||
chef-config (12.19.36)
|
chef-config (13.6.4)
|
||||||
addressable
|
addressable
|
||||||
fuzzyurl
|
fuzzyurl
|
||||||
mixlib-config (~> 2.0)
|
mixlib-config (~> 2.0)
|
||||||
mixlib-shellout (~> 2.0)
|
mixlib-shellout (~> 2.0)
|
||||||
chef-dk (1.3.40)
|
chef-dk (2.3.4)
|
||||||
addressable (>= 2.3.5, < 2.6)
|
addressable (>= 2.3.5, < 2.6)
|
||||||
chef (~> 12.5)
|
chef (~> 13.0)
|
||||||
chef-provisioning (~> 2.0)
|
chef-provisioning (~> 2.0)
|
||||||
cookbook-omnifetch (~> 0.5)
|
cookbook-omnifetch (~> 0.5)
|
||||||
diff-lcs (~> 1.0)
|
diff-lcs (~> 1.0)
|
||||||
@ -87,147 +82,153 @@ GEM
|
|||||||
mixlib-cli (~> 1.7)
|
mixlib-cli (~> 1.7)
|
||||||
mixlib-shellout (~> 2.0)
|
mixlib-shellout (~> 2.0)
|
||||||
paint (~> 1.0)
|
paint (~> 1.0)
|
||||||
solve (> 2.0, < 4.0)
|
solve (> 2.0, < 5.0)
|
||||||
chef-provisioning (2.2.1)
|
chef-provisioning (2.6.0)
|
||||||
cheffish (>= 4.0, < 6.0)
|
cheffish (>= 4.0, < 14.0)
|
||||||
inifile (>= 2.0.2)
|
inifile (>= 2.0.2)
|
||||||
mixlib-install (>= 1.0, < 3.0)
|
mixlib-install (>= 1.0)
|
||||||
net-scp (~> 1.0)
|
net-scp (~> 1.0)
|
||||||
net-ssh (>= 2.9, < 5.0)
|
net-ssh (>= 2.9, < 5.0)
|
||||||
net-ssh-gateway (~> 1.2)
|
net-ssh-gateway (> 1.2, < 3.0)
|
||||||
winrm (~> 2.0)
|
winrm (~> 2.0)
|
||||||
winrm-elevated (~> 1.0)
|
winrm-elevated (~> 1.0)
|
||||||
winrm-fs (~> 1.0)
|
winrm-fs (~> 1.0)
|
||||||
chef-vault (2.9.1)
|
chef-vault (3.3.0)
|
||||||
chef-zero (5.3.2)
|
chef-zero (13.1.0)
|
||||||
ffi-yajl (~> 2.2)
|
ffi-yajl (~> 2.2)
|
||||||
hashie (>= 2.0, < 4.0)
|
hashie (>= 2.0, < 4.0)
|
||||||
mixlib-log (~> 1.3)
|
mixlib-log (~> 1.3)
|
||||||
rack (~> 2.0)
|
rack (~> 2.0)
|
||||||
uuidtools (~> 2.1)
|
uuidtools (~> 2.1)
|
||||||
cheffish (5.0.1)
|
cheffish (13.1.0)
|
||||||
chef-zero (~> 5.0)
|
chef-zero (~> 13.0)
|
||||||
net-ssh
|
net-ssh
|
||||||
chefspec (6.2.0)
|
chefspec (7.1.0)
|
||||||
chef (>= 12.0)
|
chef (>= 12.14.89)
|
||||||
fauxhai (>= 3.6, < 5)
|
fauxhai (>= 4, < 6)
|
||||||
rspec (~> 3.0)
|
rspec (~> 3.0)
|
||||||
cleanroom (1.0.0)
|
cleanroom (1.0.0)
|
||||||
coderay (1.1.1)
|
coderay (1.1.2)
|
||||||
cookbook-omnifetch (0.5.1)
|
concurrent-ruby (1.0.5)
|
||||||
|
cookbook-omnifetch (0.8.0)
|
||||||
mixlib-archive (~> 0.4)
|
mixlib-archive (~> 0.4)
|
||||||
cucumber-core (2.0.0)
|
cucumber-core (3.0.0)
|
||||||
backports (~> 3.6)
|
backports (>= 3.8.0)
|
||||||
gherkin (~> 4.0)
|
cucumber-tag_expressions (>= 1.0.1)
|
||||||
|
gherkin (>= 4.1.3)
|
||||||
|
cucumber-tag_expressions (1.0.1)
|
||||||
diff-lcs (1.3)
|
diff-lcs (1.3)
|
||||||
diffy (3.2.0)
|
diffy (3.2.0)
|
||||||
docker-api (1.33.3)
|
docker-api (1.34.0)
|
||||||
excon (>= 0.38.0)
|
excon (>= 0.47.0)
|
||||||
json
|
multi_json
|
||||||
erubis (2.7.0)
|
erubis (2.7.0)
|
||||||
excon (0.55.0)
|
excon (0.59.0)
|
||||||
faraday (0.9.2)
|
faraday (0.13.1)
|
||||||
multipart-post (>= 1.2, < 3)
|
multipart-post (>= 1.2, < 3)
|
||||||
fauxhai (4.1.0)
|
fauxhai (5.5.0)
|
||||||
net-ssh
|
net-ssh
|
||||||
ffi (1.9.18)
|
ffi (1.9.18)
|
||||||
ffi-yajl (2.3.0)
|
ffi-yajl (2.3.1)
|
||||||
libyajl2 (~> 1.2)
|
libyajl2 (~> 1.2)
|
||||||
foodcritic (10.2.2)
|
foodcritic (12.2.1)
|
||||||
cucumber-core (>= 1.3)
|
cucumber-core (>= 1.3)
|
||||||
erubis
|
erubis
|
||||||
|
ffi-yajl (~> 2.0)
|
||||||
nokogiri (>= 1.5, < 2.0)
|
nokogiri (>= 1.5, < 2.0)
|
||||||
rake
|
rake
|
||||||
rufus-lru (~> 1.0)
|
rufus-lru (~> 1.0)
|
||||||
treetop (~> 1.4)
|
treetop (~> 1.4)
|
||||||
yajl-ruby (~> 1.1)
|
|
||||||
fuzzyurl (0.9.0)
|
fuzzyurl (0.9.0)
|
||||||
gherkin (4.1.1)
|
gherkin (5.0.0)
|
||||||
git (1.3.0)
|
git (1.3.0)
|
||||||
gssapi (1.2.0)
|
gssapi (1.2.0)
|
||||||
ffi (>= 1.0.1)
|
ffi (>= 1.0.1)
|
||||||
gyoku (1.3.1)
|
gyoku (1.3.1)
|
||||||
builder (>= 2.1.2)
|
builder (>= 2.1.2)
|
||||||
hashie (3.5.5)
|
hashie (3.5.6)
|
||||||
highline (1.7.8)
|
highline (1.7.10)
|
||||||
hitimes (1.2.4)
|
hitimes (1.2.6)
|
||||||
|
htmlentities (4.3.4)
|
||||||
httpclient (2.8.3)
|
httpclient (2.8.3)
|
||||||
inifile (3.0.0)
|
inifile (3.0.0)
|
||||||
iniparse (1.4.2)
|
iniparse (1.4.4)
|
||||||
inspec (1.19.2)
|
inspec (1.45.13)
|
||||||
addressable (~> 2.4)
|
addressable (~> 2.4)
|
||||||
faraday (>= 0.9.0)
|
faraday (>= 0.9.0)
|
||||||
hashie (~> 3.4)
|
hashie (~> 3.4)
|
||||||
|
htmlentities
|
||||||
json (>= 1.8, < 3.0)
|
json (>= 1.8, < 3.0)
|
||||||
method_source (~> 0.8)
|
method_source (~> 0.8)
|
||||||
mixlib-log
|
mixlib-log
|
||||||
parallel (~> 1.9)
|
parallel (~> 1.9)
|
||||||
|
parslet (~> 1.5)
|
||||||
pry (~> 0)
|
pry (~> 0)
|
||||||
rainbow (~> 2)
|
rainbow (~> 2)
|
||||||
rspec (~> 3)
|
rspec (~> 3)
|
||||||
rspec-its (~> 1.2)
|
rspec-its (~> 1.2)
|
||||||
rubyzip (~> 1.1)
|
rubyzip (~> 1.1)
|
||||||
sslshake (~> 1)
|
semverse
|
||||||
|
sslshake (~> 1.2)
|
||||||
thor (~> 0.19)
|
thor (~> 0.19)
|
||||||
toml (~> 0.1)
|
tomlrb (~> 1.2)
|
||||||
train (>= 0.22.0, < 1.0)
|
train (~> 0.29, >= 0.29.2)
|
||||||
ipaddress (0.8.3)
|
ipaddress (0.8.3)
|
||||||
json (2.0.3)
|
iso8601 (0.9.1)
|
||||||
kitchen-inspec (0.17.0)
|
json (2.1.0)
|
||||||
|
kitchen-inspec (0.20.0)
|
||||||
hashie (~> 3.4)
|
hashie (~> 3.4)
|
||||||
inspec (>= 0.34.0, < 2.0.0)
|
inspec (>= 0.34.0, < 2.0.0)
|
||||||
test-kitchen (~> 1.6)
|
test-kitchen (~> 1.6)
|
||||||
kitchen-vagrant (1.1.0)
|
kitchen-vagrant (1.2.1)
|
||||||
test-kitchen (~> 1.4)
|
test-kitchen (~> 1.4)
|
||||||
knife-spork (1.6.3)
|
knife-spork (1.7.1)
|
||||||
app_conf (>= 0.4.0)
|
app_conf (>= 0.4.0)
|
||||||
chef (>= 11.0.0)
|
chef (>= 11.0.0)
|
||||||
diffy (>= 3.0.1)
|
diffy (>= 3.0.1)
|
||||||
git (>= 1.2.5)
|
git (>= 1.2.5)
|
||||||
libyajl2 (1.2.0)
|
libyajl2 (1.2.0)
|
||||||
little-plugger (1.1.4)
|
little-plugger (1.1.4)
|
||||||
logging (2.2.0)
|
logging (2.2.2)
|
||||||
little-plugger (~> 1.1)
|
little-plugger (~> 1.1)
|
||||||
multi_json (~> 1.10)
|
multi_json (~> 1.10)
|
||||||
method_source (0.8.2)
|
method_source (0.9.0)
|
||||||
mini_portile2 (2.1.0)
|
mini_portile2 (2.3.0)
|
||||||
minitar (0.5.4)
|
minitar (0.5.4)
|
||||||
mixlib-archive (0.4.1)
|
mixlib-archive (0.4.1)
|
||||||
mixlib-log
|
mixlib-log
|
||||||
mixlib-authentication (1.4.1)
|
mixlib-authentication (1.4.2)
|
||||||
mixlib-log
|
|
||||||
mixlib-cli (1.7.0)
|
mixlib-cli (1.7.0)
|
||||||
mixlib-config (2.2.4)
|
mixlib-config (2.2.4)
|
||||||
mixlib-install (2.1.12)
|
mixlib-install (3.8.0)
|
||||||
artifactory
|
|
||||||
mixlib-shellout
|
mixlib-shellout
|
||||||
mixlib-versioning
|
mixlib-versioning
|
||||||
thor
|
thor
|
||||||
mixlib-log (1.7.1)
|
mixlib-log (1.7.1)
|
||||||
mixlib-shellout (2.2.7)
|
mixlib-shellout (2.3.2)
|
||||||
mixlib-versioning (1.1.0)
|
mixlib-versioning (1.2.2)
|
||||||
molinillo (0.5.7)
|
molinillo (0.6.4)
|
||||||
multi_json (1.12.1)
|
multi_json (1.12.2)
|
||||||
multipart-post (2.0.0)
|
multipart-post (2.0.0)
|
||||||
net-scp (1.2.1)
|
net-scp (1.2.1)
|
||||||
net-ssh (>= 2.6.5)
|
net-ssh (>= 2.6.5)
|
||||||
net-sftp (2.1.2)
|
net-sftp (2.1.2)
|
||||||
net-ssh (>= 2.6.5)
|
net-ssh (>= 2.6.5)
|
||||||
net-ssh (4.1.0)
|
net-ssh (4.2.0)
|
||||||
net-ssh-gateway (1.3.0)
|
net-ssh-gateway (1.3.0)
|
||||||
net-ssh (>= 2.6.5)
|
net-ssh (>= 2.6.5)
|
||||||
net-ssh-multi (1.2.1)
|
net-ssh-multi (1.2.1)
|
||||||
net-ssh (>= 2.6.5)
|
net-ssh (>= 2.6.5)
|
||||||
net-ssh-gateway (>= 1.2.0)
|
net-ssh-gateway (>= 1.2.0)
|
||||||
net-telnet (0.1.1)
|
net-telnet (0.1.1)
|
||||||
nio4r (2.0.0)
|
nio4r (2.1.0)
|
||||||
nokogiri (1.7.1)
|
nokogiri (1.8.1)
|
||||||
mini_portile2 (~> 2.1.0)
|
mini_portile2 (~> 2.3.0)
|
||||||
nori (2.6.0)
|
nori (2.6.0)
|
||||||
octokit (4.7.0)
|
octokit (4.7.0)
|
||||||
sawyer (~> 0.8.0, >= 0.5.3)
|
sawyer (~> 0.8.0, >= 0.5.3)
|
||||||
ohai (8.23.0)
|
ohai (13.6.0)
|
||||||
chef-config (>= 12.5.0.alpha.1, < 13)
|
chef-config (>= 12.5.0.alpha.1, < 14)
|
||||||
ffi (~> 1.9)
|
ffi (~> 1.9)
|
||||||
ffi-yajl (~> 2.2)
|
ffi-yajl (~> 2.2)
|
||||||
ipaddress
|
ipaddress
|
||||||
@ -239,25 +240,24 @@ GEM
|
|||||||
systemu (~> 2.6.4)
|
systemu (~> 2.6.4)
|
||||||
wmi-lite (~> 1.0)
|
wmi-lite (~> 1.0)
|
||||||
paint (1.0.1)
|
paint (1.0.1)
|
||||||
parallel (1.11.1)
|
parallel (1.12.0)
|
||||||
parser (2.4.0.0)
|
parser (2.4.0.2)
|
||||||
ast (~> 2.2)
|
ast (~> 2.3)
|
||||||
parslet (1.5.0)
|
parslet (1.8.1)
|
||||||
blankslate (~> 2.0)
|
plist (3.3.0)
|
||||||
plist (3.2.0)
|
|
||||||
polyglot (0.3.5)
|
polyglot (0.3.5)
|
||||||
powerpack (0.1.1)
|
powerpack (0.1.1)
|
||||||
proxifier (1.0.3)
|
proxifier (1.0.3)
|
||||||
pry (0.10.4)
|
pry (0.11.3)
|
||||||
coderay (~> 1.1.0)
|
coderay (~> 1.1.0)
|
||||||
method_source (~> 0.8.1)
|
method_source (~> 0.9.0)
|
||||||
slop (~> 3.4)
|
public_suffix (3.0.1)
|
||||||
public_suffix (2.0.5)
|
rack (2.0.3)
|
||||||
rack (2.0.1)
|
rainbow (2.2.2)
|
||||||
rainbow (2.2.1)
|
rake
|
||||||
rake (12.0.0)
|
rake (12.3.0)
|
||||||
retryable (2.0.4)
|
retryable (2.0.4)
|
||||||
ridley (5.1.0)
|
ridley (5.1.1)
|
||||||
addressable
|
addressable
|
||||||
buff-config (~> 2.0)
|
buff-config (~> 2.0)
|
||||||
buff-extensions (~> 2.0)
|
buff-extensions (~> 2.0)
|
||||||
@ -267,7 +267,7 @@ GEM
|
|||||||
celluloid-io (~> 0.16.1)
|
celluloid-io (~> 0.16.1)
|
||||||
chef-config (>= 12.5.0)
|
chef-config (>= 12.5.0)
|
||||||
erubis
|
erubis
|
||||||
faraday (~> 0.9.0)
|
faraday (~> 0.9)
|
||||||
hashie (>= 2.0.2, < 4.0.0)
|
hashie (>= 2.0.2, < 4.0.0)
|
||||||
httpclient (~> 2.7)
|
httpclient (~> 2.7)
|
||||||
json (>= 1.7.7)
|
json (>= 1.7.7)
|
||||||
@ -275,33 +275,34 @@ GEM
|
|||||||
retryable (~> 2.0)
|
retryable (~> 2.0)
|
||||||
semverse (~> 2.0)
|
semverse (~> 2.0)
|
||||||
varia_model (~> 0.6)
|
varia_model (~> 0.6)
|
||||||
rspec (3.5.0)
|
rspec (3.7.0)
|
||||||
rspec-core (~> 3.5.0)
|
rspec-core (~> 3.7.0)
|
||||||
rspec-expectations (~> 3.5.0)
|
rspec-expectations (~> 3.7.0)
|
||||||
rspec-mocks (~> 3.5.0)
|
rspec-mocks (~> 3.7.0)
|
||||||
rspec-core (3.5.4)
|
rspec-core (3.7.0)
|
||||||
rspec-support (~> 3.5.0)
|
rspec-support (~> 3.7.0)
|
||||||
rspec-expectations (3.5.0)
|
rspec-expectations (3.7.0)
|
||||||
diff-lcs (>= 1.2.0, < 2.0)
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
rspec-support (~> 3.5.0)
|
rspec-support (~> 3.7.0)
|
||||||
rspec-its (1.2.0)
|
rspec-its (1.2.0)
|
||||||
rspec-core (>= 3.0.0)
|
rspec-core (>= 3.0.0)
|
||||||
rspec-expectations (>= 3.0.0)
|
rspec-expectations (>= 3.0.0)
|
||||||
rspec-mocks (3.5.0)
|
rspec-mocks (3.7.0)
|
||||||
diff-lcs (>= 1.2.0, < 2.0)
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
rspec-support (~> 3.5.0)
|
rspec-support (~> 3.7.0)
|
||||||
rspec-support (3.5.0)
|
rspec-support (3.7.0)
|
||||||
rspec_junit_formatter (0.2.3)
|
rspec_junit_formatter (0.2.3)
|
||||||
builder (< 4)
|
builder (< 4)
|
||||||
rspec-core (>= 2, < 4, != 2.12.0)
|
rspec-core (>= 2, < 4, != 2.12.0)
|
||||||
rubocop (0.48.1)
|
rubocop (0.51.0)
|
||||||
|
parallel (~> 1.10)
|
||||||
parser (>= 2.3.3.1, < 3.0)
|
parser (>= 2.3.3.1, < 3.0)
|
||||||
powerpack (~> 0.1)
|
powerpack (~> 0.1)
|
||||||
rainbow (>= 1.99.1, < 3.0)
|
rainbow (>= 2.2.2, < 3.0)
|
||||||
ruby-progressbar (~> 1.7)
|
ruby-progressbar (~> 1.7)
|
||||||
unicode-display_width (~> 1.0, >= 1.0.1)
|
unicode-display_width (~> 1.0, >= 1.0.1)
|
||||||
ruby-progressbar (1.8.1)
|
ruby-progressbar (1.9.0)
|
||||||
rubyntlm (0.6.1)
|
rubyntlm (0.6.2)
|
||||||
rubyzip (1.2.1)
|
rubyzip (1.2.1)
|
||||||
rufus-lru (1.1.0)
|
rufus-lru (1.1.0)
|
||||||
safe_yaml (1.0.4)
|
safe_yaml (1.0.4)
|
||||||
@ -309,38 +310,39 @@ GEM
|
|||||||
addressable (>= 2.3.5, < 2.6)
|
addressable (>= 2.3.5, < 2.6)
|
||||||
faraday (~> 0.8, < 1.0)
|
faraday (~> 0.8, < 1.0)
|
||||||
semverse (2.0.0)
|
semverse (2.0.0)
|
||||||
serverspec (2.38.0)
|
serverspec (2.41.3)
|
||||||
multi_json
|
multi_json
|
||||||
rspec (~> 3.0)
|
rspec (~> 3.0)
|
||||||
rspec-its
|
rspec-its
|
||||||
specinfra (~> 2.53)
|
specinfra (~> 2.72)
|
||||||
sfl (2.3)
|
sfl (2.3)
|
||||||
slop (3.6.0)
|
solve (4.0.0)
|
||||||
solve (3.1.0)
|
molinillo (~> 0.6)
|
||||||
molinillo (>= 0.5)
|
|
||||||
semverse (>= 1.1, < 3.0)
|
semverse (>= 1.1, < 3.0)
|
||||||
specinfra (2.67.7)
|
specinfra (2.72.1)
|
||||||
net-scp
|
net-scp
|
||||||
net-ssh (>= 2.7, < 5.0)
|
net-ssh (>= 2.7, < 5.0)
|
||||||
net-telnet
|
net-telnet
|
||||||
sfl
|
sfl
|
||||||
sslshake (1.1.0)
|
sslshake (1.2.0)
|
||||||
syslog-logger (1.6.8)
|
syslog-logger (1.6.8)
|
||||||
systemu (2.6.5)
|
systemu (2.6.5)
|
||||||
test-kitchen (1.16.0)
|
test-kitchen (1.19.1)
|
||||||
mixlib-install (>= 1.2, < 3.0)
|
mixlib-install (~> 3.6)
|
||||||
mixlib-shellout (>= 1.2, < 3.0)
|
mixlib-shellout (>= 1.2, < 3.0)
|
||||||
net-scp (~> 1.1)
|
net-scp (~> 1.1)
|
||||||
net-ssh (>= 2.9, < 5.0)
|
net-ssh (>= 2.9, < 5.0)
|
||||||
net-ssh-gateway (~> 1.2)
|
net-ssh-gateway (~> 1.2)
|
||||||
safe_yaml (~> 1.0)
|
safe_yaml (~> 1.0)
|
||||||
thor (~> 0.19, < 0.19.2)
|
thor (~> 0.19, < 0.19.2)
|
||||||
|
winrm (~> 2.0)
|
||||||
|
winrm-elevated (~> 1.0)
|
||||||
|
winrm-fs (~> 1.0.2)
|
||||||
thor (0.19.1)
|
thor (0.19.1)
|
||||||
timers (4.0.4)
|
timers (4.0.4)
|
||||||
hitimes
|
hitimes
|
||||||
toml (0.1.2)
|
tomlrb (1.2.6)
|
||||||
parslet (~> 1.5.0)
|
train (0.29.2)
|
||||||
train (0.23.0)
|
|
||||||
docker-api (~> 1.26)
|
docker-api (~> 1.26)
|
||||||
json (>= 1.8, < 3.0)
|
json (>= 1.8, < 3.0)
|
||||||
mixlib-shellout (~> 2.0)
|
mixlib-shellout (~> 2.0)
|
||||||
@ -348,14 +350,14 @@ GEM
|
|||||||
net-ssh (>= 2.9, < 5.0)
|
net-ssh (>= 2.9, < 5.0)
|
||||||
winrm (~> 2.0)
|
winrm (~> 2.0)
|
||||||
winrm-fs (~> 1.0)
|
winrm-fs (~> 1.0)
|
||||||
treetop (1.6.8)
|
treetop (1.6.9)
|
||||||
polyglot (~> 0.3)
|
polyglot (~> 0.3)
|
||||||
unicode-display_width (1.1.3)
|
unicode-display_width (1.3.0)
|
||||||
uuidtools (2.1.5)
|
uuidtools (2.1.5)
|
||||||
varia_model (0.6.0)
|
varia_model (0.6.0)
|
||||||
buff-extensions (~> 2.0)
|
buff-extensions (~> 2.0)
|
||||||
hashie (>= 2.0.2, < 4.0.0)
|
hashie (>= 2.0.2, < 4.0.0)
|
||||||
winrm (2.2.1)
|
winrm (2.2.3)
|
||||||
builder (>= 2.1.2)
|
builder (>= 2.1.2)
|
||||||
erubis (~> 2.7)
|
erubis (~> 2.7)
|
||||||
gssapi (~> 1.2)
|
gssapi (~> 1.2)
|
||||||
@ -367,13 +369,12 @@ GEM
|
|||||||
winrm-elevated (1.1.0)
|
winrm-elevated (1.1.0)
|
||||||
winrm (~> 2.0)
|
winrm (~> 2.0)
|
||||||
winrm-fs (~> 1.0)
|
winrm-fs (~> 1.0)
|
||||||
winrm-fs (1.0.1)
|
winrm-fs (1.0.2)
|
||||||
erubis (~> 2.7)
|
erubis (~> 2.7)
|
||||||
logging (>= 1.6.1, < 3.0)
|
logging (>= 1.6.1, < 3.0)
|
||||||
rubyzip (~> 1.1)
|
rubyzip (~> 1.1)
|
||||||
winrm (~> 2.0)
|
winrm (~> 2.0)
|
||||||
wmi-lite (1.0.0)
|
wmi-lite (1.0.0)
|
||||||
yajl-ruby (1.3.0)
|
|
||||||
|
|
||||||
PLATFORMS
|
PLATFORMS
|
||||||
ruby
|
ruby
|
||||||
@ -396,4 +397,4 @@ DEPENDENCIES
|
|||||||
test-kitchen
|
test-kitchen
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
1.14.4
|
1.14.6
|
||||||
|
@ -1,9 +1,11 @@
|
|||||||
{ stdenv, lib, bundlerEnv, ruby, perl, autoconf }:
|
{ stdenv, lib, bundlerEnv, ruby_2_4, perl, autoconf }:
|
||||||
|
|
||||||
bundlerEnv {
|
bundlerEnv {
|
||||||
name = "chefdk-1.3.40";
|
# Last updated via:
|
||||||
|
# nix-shell -p bundix -p gcc -p libxml2 -p zlib --run "bundix -mdl"
|
||||||
|
name = "chefdk-2.3.4";
|
||||||
|
|
||||||
inherit ruby;
|
ruby = ruby_2_4;
|
||||||
gemdir = ./.;
|
gemdir = ./.;
|
||||||
|
|
||||||
buildInputs = [ perl autoconf ];
|
buildInputs = [ perl autoconf ];
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, writeScriptBin, makeWrapper, buildEnv, haskell, ghcWithPackages, ihaskell, jupyter, packages }:
|
{ stdenv, writeScriptBin, makeWrapper, buildEnv, haskell, ghcWithPackages, jupyter, packages }:
|
||||||
let
|
let
|
||||||
ihaskellEnv = ghcWithPackages (self: [
|
ihaskellEnv = ghcWithPackages (self: [
|
||||||
self.ihaskell
|
self.ihaskell
|
||||||
@ -9,8 +9,8 @@ let
|
|||||||
ihaskellSh = writeScriptBin "ihaskell-notebook" ''
|
ihaskellSh = writeScriptBin "ihaskell-notebook" ''
|
||||||
#! ${stdenv.shell}
|
#! ${stdenv.shell}
|
||||||
export GHC_PACKAGE_PATH="$(echo ${ihaskellEnv}/lib/*/package.conf.d| tr ' ' ':'):$GHC_PACKAGE_PATH"
|
export GHC_PACKAGE_PATH="$(echo ${ihaskellEnv}/lib/*/package.conf.d| tr ' ' ':'):$GHC_PACKAGE_PATH"
|
||||||
export PATH="${stdenv.lib.makeBinPath ([ ihaskell ihaskellEnv jupyter ])}"
|
export PATH="${stdenv.lib.makeBinPath ([ ihaskellEnv jupyter ])}"
|
||||||
${ihaskell}/bin/ihaskell install -l $(${ihaskellEnv}/bin/ghc --print-libdir) && ${jupyter}/bin/jupyter notebook
|
${ihaskellEnv}/bin/ihaskell install -l $(${ihaskellEnv}/bin/ghc --print-libdir) && ${jupyter}/bin/jupyter notebook
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
buildEnv {
|
buildEnv {
|
||||||
|
@ -1,31 +1,22 @@
|
|||||||
{ stdenv, pkgconfig, fetchurl, itstool, intltool, libxml2, glib, gtk3
|
{ stdenv, pkgconfig, fetchurl, itstool, intltool, libxml2, glib, gtk3
|
||||||
, pythonPackages, makeWrapper, gnome3, libwnck3 }:
|
, python3Packages, wrapGAppsHook, gnome3, libwnck3 }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "${major}.12";
|
version = "${major}.13";
|
||||||
major = "0.3";
|
major = "0.3";
|
||||||
in pythonPackages.buildPythonApplication rec {
|
in python3Packages.buildPythonApplication rec {
|
||||||
name = "d-feet-${version}";
|
name = "d-feet-${version}";
|
||||||
format = "other";
|
format = "other";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/d-feet/${major}/d-feet-${version}.tar.xz";
|
url = "mirror://gnome/sources/d-feet/${major}/d-feet-${version}.tar.xz";
|
||||||
sha256 = "054hl56rii9ff7rzl42h7993ywjbxmhlcd7bk8fi1c2bx98c6s68";
|
sha256 = "1md3lzs55sg04ds69dbginpxqvgg3qnf1lfx3vmsxph6bbd2y6ll";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig itstool intltool wrapGAppsHook libxml2 ];
|
||||||
buildInputs = [ libxml2 itstool intltool glib gtk3
|
buildInputs = [ glib gtk3 gnome3.defaultIconTheme libwnck3 ];
|
||||||
gnome3.defaultIconTheme makeWrapper libwnck3
|
|
||||||
];
|
|
||||||
|
|
||||||
propagatedBuildInputs = with pythonPackages; [ pygobject3 pep8 ];
|
propagatedBuildInputs = with python3Packages; [ pygobject3 pep8 ];
|
||||||
|
|
||||||
preFixup =
|
|
||||||
''
|
|
||||||
wrapProgram $out/bin/d-feet \
|
|
||||||
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
|
|
||||||
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$out/share"
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "D-Feet is an easy to use D-Bus debugger";
|
description = "D-Feet is an easy to use D-Bus debugger";
|
||||||
|
@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
|
|||||||
SDL2_image SDL2_ttf physfs
|
SDL2_image SDL2_ttf physfs
|
||||||
openal libmodplug libvorbis ];
|
openal libmodplug libvorbis ];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A Zelda-like ARPG game engine";
|
description = "A Zelda-like ARPG game engine";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
@ -10,12 +10,12 @@ with stdenv.lib;
|
|||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
name = "higan-${version}";
|
name = "higan-${version}";
|
||||||
version = "105";
|
version = "106";
|
||||||
sourceName = "higan_v${version}-source";
|
sourceName = "higan_v${version}-source";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
urls = [ "http://download.byuu.org/${sourceName}.7z" ];
|
urls = [ "http://download.byuu.org/${sourceName}.7z" ];
|
||||||
sha256 = "1lpj345vlnwcywhzq1fzxwl08zc2x4d103rgyyp7yw8m0f8f9sdl";
|
sha256 = "063dzp9wrdnbvagraxi31xg0154y2gf67rrd0mnc8h104cgzjr35";
|
||||||
curlOpts = "--user-agent 'Mozilla/5.0'"; # the good old user-agent trick...
|
curlOpts = "--user-agent 'Mozilla/5.0'"; # the good old user-agent trick...
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -73,7 +73,7 @@ stdenv.mkDerivation rec {
|
|||||||
Game Boy, Game Boy Color, Game Boy Advance;
|
Game Boy, Game Boy Color, Game Boy Advance;
|
||||||
- Sega's Master System, Game Gear, Mega Drive;
|
- Sega's Master System, Game Gear, Mega Drive;
|
||||||
- NEC's PC Engine, SuperGrafx;
|
- NEC's PC Engine, SuperGrafx;
|
||||||
- Bandai' WonderSwan, WonderSwan Color.
|
- Bandai's WonderSwan, WonderSwan Color.
|
||||||
'';
|
'';
|
||||||
homepage = https://byuu.org/higan/;
|
homepage = https://byuu.org/higan/;
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
|
13
pkgs/os-specific/linux/criu/criu-2.12.1-glibc-2.26.patch
Normal file
13
pkgs/os-specific/linux/criu/criu-2.12.1-glibc-2.26.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
--- a/criu/cr-restore.c
|
||||||
|
+++ b/criu/cr-restore.c
|
||||||
|
@@ -650,3 +650,2 @@ static void zombie_prepare_signals(void)
|
||||||
|
(1 << SIGSYS) |\
|
||||||
|
- (1 << SIGUNUSED)|\
|
||||||
|
(1 << SIGSTKFLT)|\
|
||||||
|
--- a/test/zdtm/static/pthread01.c
|
||||||
|
+++ b/test/zdtm/static/pthread01.c
|
||||||
|
@@ -45,3 +45,3 @@ static char *decode_signal(const sigset_t *s, char *buf)
|
||||||
|
COLLECT(SIGXFSZ); COLLECT(SIGVTALRM); COLLECT(SIGPROF); COLLECT(SIGWINCH); COLLECT(SIGIO);
|
||||||
|
- COLLECT(SIGPOLL); COLLECT(SIGPWR); COLLECT(SIGSYS); COLLECT(SIGUNUSED);
|
||||||
|
+ COLLECT(SIGPOLL); COLLECT(SIGPWR); COLLECT(SIGSYS);
|
||||||
|
#undef COLLECT
|
@ -11,11 +11,13 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "18m0sjgcfvzc86w49fd3kxw145nmrsvc5w7zf42nxdiklmszbr1k";
|
sha256 = "18m0sjgcfvzc86w49fd3kxw145nmrsvc5w7zf42nxdiklmszbr1k";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [ ./criu-2.12.1-glibc-2.26.patch ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
nativeBuildInputs = [ pkgconfig docbook_xsl ];
|
nativeBuildInputs = [ pkgconfig docbook_xsl ];
|
||||||
buildInputs = [ protobuf protobufc asciidoc xmlto libpaper libnl libcap libnet python ];
|
buildInputs = [ protobuf protobufc asciidoc xmlto libpaper libnl libcap libnet python ];
|
||||||
|
|
||||||
patchPhase = ''
|
postPatch = ''
|
||||||
chmod +w ./scripts/gen-offsets.sh
|
chmod +w ./scripts/gen-offsets.sh
|
||||||
substituteInPlace ./scripts/gen-offsets.sh --replace hexdump ${utillinux}/bin/hexdump
|
substituteInPlace ./scripts/gen-offsets.sh --replace hexdump ${utillinux}/bin/hexdump
|
||||||
substituteInPlace ./Documentation/Makefile --replace "2>/dev/null" ""
|
substituteInPlace ./Documentation/Makefile --replace "2>/dev/null" ""
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
{ stdenv, hostPlatform, fetchurl, perl, buildLinux, ... } @ args:
|
{ stdenv, hostPlatform, fetchurl, perl, buildLinux, libelf, utillinux, ... } @ args:
|
||||||
|
|
||||||
import ./generic.nix (args // rec {
|
import ./generic.nix (args // rec {
|
||||||
version = "4.14-rc8";
|
version = "4.15-rc1";
|
||||||
modDirVersion = "4.14.0-rc8";
|
modDirVersion = "4.15.0-rc1";
|
||||||
extraMeta.branch = "4.14";
|
extraMeta.branch = "4.15";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://git.kernel.org/torvalds/t/linux-${version}.tar.gz";
|
url = "https://git.kernel.org/torvalds/t/linux-${version}.tar.gz";
|
||||||
sha256 = "0ir2ggflm1xjnn1kvv2c99m5zni5kg0ygzlpm588wnhkzd93nqjh";
|
sha256 = "1l7c132qb5qjd80hga03ivssfq65brqyd95sb4rd065dqrixp20n";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Should the testing kernels ever be built on Hydra?
|
# Should the testing kernels ever be built on Hydra?
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
{ runCommand, nettools, bc, perl, gmp, libmpc, mpfr, kmod, openssl
|
{ runCommand, nettools, bc, perl, gmp, libmpc, mpfr, kmod, openssl
|
||||||
|
, libelf ? null
|
||||||
|
, utillinux ? null
|
||||||
, writeTextFile, ubootTools
|
, writeTextFile, ubootTools
|
||||||
, hostPlatform
|
, hostPlatform
|
||||||
}:
|
}:
|
||||||
@ -230,13 +232,18 @@ let
|
|||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
||||||
|
assert stdenv.lib.versionAtLeast version "4.15" -> libelf != null;
|
||||||
|
assert stdenv.lib.versionAtLeast version "4.15" -> utillinux != null;
|
||||||
stdenv.mkDerivation ((drvAttrs config stdenv.platform (kernelPatches ++ nativeKernelPatches) configfile) // {
|
stdenv.mkDerivation ((drvAttrs config stdenv.platform (kernelPatches ++ nativeKernelPatches) configfile) // {
|
||||||
name = "linux-${version}";
|
name = "linux-${version}";
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
nativeBuildInputs = [ perl bc nettools openssl gmp libmpc mpfr ]
|
nativeBuildInputs = [ perl bc nettools openssl gmp libmpc mpfr ]
|
||||||
++ optional (stdenv.platform.kernelTarget == "uImage") ubootTools;
|
++ optional (stdenv.platform.kernelTarget == "uImage") ubootTools
|
||||||
|
++ optional (stdenv.lib.versionAtLeast version "4.15") libelf
|
||||||
|
++ optional (stdenv.lib.versionAtLeast version "4.15") utillinux
|
||||||
|
;
|
||||||
|
|
||||||
hardeningDisable = [ "bindnow" "format" "fortify" "stackprotector" "pic" ];
|
hardeningDisable = [ "bindnow" "format" "fortify" "stackprotector" "pic" ];
|
||||||
|
|
||||||
|
@ -13,7 +13,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ bison flex libtool which ];
|
nativeBuildInputs = [ bison flex libtool which ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
# Makefile(.in) contains "clientparse.c clientparse.h: clientparse.y" which
|
||||||
|
# causes bison to run twice, and break the build when this happens in
|
||||||
|
# parallel. Test with "make -j clientparse.c clientparse.h". The error
|
||||||
|
# message may be "mv: cannot move 'y.tab.c' to 'clientparse.c'".
|
||||||
|
enableParallelBuilding = false;
|
||||||
|
|
||||||
patchPhase = "patch -p0 < ${./buildfix.diff}";
|
patchPhase = "patch -p0 < ${./buildfix.diff}";
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ fetchurl, stdenv, pkgconfig, libnsl, libtirpc
|
{ fetchurl, stdenv, pkgconfig, libnsl, libtirpc, fetchpatch
|
||||||
, useSystemd ? true, systemd }:
|
, useSystemd ? true, systemd }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -12,6 +12,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./sunrpc.patch
|
./sunrpc.patch
|
||||||
|
(fetchpatch {
|
||||||
|
name = "CVE-2017-8779.patch";
|
||||||
|
url = "https://raw.githubusercontent.com/guidovranken/rpcbomb/e6da9e489aa8ad000b0ad5ac9abc5b4eefc3a769/rpcbind_patch.txt";
|
||||||
|
sha256 = "0w231w8fxihgrn526np078j3vbj3ylvjvxjmfpjvqhga5zg821ab";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [ libnsl libtirpc ]
|
buildInputs = [ libnsl libtirpc ]
|
||||||
|
@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
|
|||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [ ./glibc-2.26.patch ];
|
||||||
|
|
||||||
nativeBuildInputs = [ autoconf automake pkgconfig libtool check
|
nativeBuildInputs = [ autoconf automake pkgconfig libtool check
|
||||||
bison git gettext gperf perl texinfo help2man ncurses
|
bison git gettext gperf perl texinfo help2man ncurses
|
||||||
];
|
];
|
||||||
@ -31,6 +33,8 @@ stdenv.mkDerivation rec {
|
|||||||
make PREFIX=$out config
|
make PREFIX=$out config
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "The Directed Graph Shell";
|
description = "The Directed Graph Shell";
|
||||||
homepage = http://www.dmst.aueb.gr/dds/sw/dgsh;
|
homepage = http://www.dmst.aueb.gr/dds/sw/dgsh;
|
||||||
|
12
pkgs/shells/dgsh/glibc-2.26.patch
Normal file
12
pkgs/shells/dgsh/glibc-2.26.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff --git a/core-tools/src/dgsh-httpval.c b/core-tools/src/dgsh-httpval.c
|
||||||
|
index 8b5dce3..7b43c3d 100644
|
||||||
|
--- a/core-tools/src/dgsh-httpval.c
|
||||||
|
+++ b/core-tools/src/dgsh-httpval.c
|
||||||
|
@@ -40,6 +40,7 @@
|
||||||
|
#include <sys/stat.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
+#include <stdint.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <ctype.h>
|
@ -5,11 +5,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "strongswan-${version}";
|
name = "strongswan-${version}";
|
||||||
version = "5.6.0";
|
version = "5.6.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://download.strongswan.org/${name}.tar.bz2";
|
url = "http://download.strongswan.org/${name}.tar.bz2";
|
||||||
sha256 = "04vvha2zgsg1cq05cnn6sf7a4hq9ndnsfxpw1drm5v9l4vcw0kd1";
|
sha256 = "0lxbyiary8iapx3ysw40czrmxf983fhfzs5mvz2hk1j1mpc85hp0";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontPatchELF = true;
|
dontPatchELF = true;
|
||||||
|
@ -2164,8 +2164,6 @@ with pkgs;
|
|||||||
|
|
||||||
ftgl = callPackage ../development/libraries/ftgl { };
|
ftgl = callPackage ../development/libraries/ftgl { };
|
||||||
|
|
||||||
ftgl212 = callPackage ../development/libraries/ftgl/2.1.2.nix { };
|
|
||||||
|
|
||||||
ftop = callPackage ../os-specific/linux/ftop { };
|
ftop = callPackage ../os-specific/linux/ftop { };
|
||||||
|
|
||||||
fsfs = callPackage ../tools/filesystems/fsfs { };
|
fsfs = callPackage ../tools/filesystems/fsfs { };
|
||||||
@ -2729,7 +2727,7 @@ with pkgs;
|
|||||||
|
|
||||||
|
|
||||||
ihaskell = callPackage ../development/tools/haskell/ihaskell/wrapper.nix {
|
ihaskell = callPackage ../development/tools/haskell/ihaskell/wrapper.nix {
|
||||||
inherit (haskellPackages) ihaskell ghcWithPackages;
|
inherit (haskellPackages) ghcWithPackages;
|
||||||
|
|
||||||
jupyter = python3.withPackages (ps: [ ps.jupyter ps.notebook ]);
|
jupyter = python3.withPackages (ps: [ ps.jupyter ps.notebook ]);
|
||||||
|
|
||||||
@ -7078,9 +7076,7 @@ with pkgs;
|
|||||||
|
|
||||||
cheat = callPackage ../applications/misc/cheat { };
|
cheat = callPackage ../applications/misc/cheat { };
|
||||||
|
|
||||||
chefdk = callPackage ../development/tools/chefdk {
|
chefdk = callPackage ../development/tools/chefdk { };
|
||||||
ruby = ruby_2_0;
|
|
||||||
};
|
|
||||||
|
|
||||||
matter-compiler = callPackage ../development/compilers/matter-compiler {};
|
matter-compiler = callPackage ../development/compilers/matter-compiler {};
|
||||||
|
|
||||||
@ -10668,7 +10664,9 @@ with pkgs;
|
|||||||
inherit (darwin.apple_sdk.frameworks) AudioUnit Cocoa CoreAudio CoreServices ForceFeedback OpenGL;
|
inherit (darwin.apple_sdk.frameworks) AudioUnit Cocoa CoreAudio CoreServices ForceFeedback OpenGL;
|
||||||
};
|
};
|
||||||
|
|
||||||
SDL2_image = callPackage ../development/libraries/SDL2_image { };
|
SDL2_image = callPackage ../development/libraries/SDL2_image {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Foundation;
|
||||||
|
};
|
||||||
|
|
||||||
SDL2_mixer = callPackage ../development/libraries/SDL2_mixer { };
|
SDL2_mixer = callPackage ../development/libraries/SDL2_mixer { };
|
||||||
|
|
||||||
@ -12597,7 +12595,6 @@ with pkgs;
|
|||||||
linux_testing = callPackage ../os-specific/linux/kernel/linux-testing.nix {
|
linux_testing = callPackage ../os-specific/linux/kernel/linux-testing.nix {
|
||||||
kernelPatches = [
|
kernelPatches = [
|
||||||
kernelPatches.bridge_stp_helper
|
kernelPatches.bridge_stp_helper
|
||||||
kernelPatches.p9_fixes
|
|
||||||
kernelPatches.modinst_arg_list_too_long
|
kernelPatches.modinst_arg_list_too_long
|
||||||
] ++ lib.optionals ((platform.kernelArch or null) == "mips") [
|
] ++ lib.optionals ((platform.kernelArch or null) == "mips") [
|
||||||
kernelPatches.mips_fpureg_emu
|
kernelPatches.mips_fpureg_emu
|
||||||
@ -13449,6 +13446,7 @@ with pkgs;
|
|||||||
iosevka = callPackage ../data/fonts/iosevka {
|
iosevka = callPackage ../data/fonts/iosevka {
|
||||||
nodejs = nodejs-8_x;
|
nodejs = nodejs-8_x;
|
||||||
};
|
};
|
||||||
|
iosevka-bin = callPackage ../data/fonts/iosevka/bin.nix {};
|
||||||
|
|
||||||
ipafont = callPackage ../data/fonts/ipafont {};
|
ipafont = callPackage ../data/fonts/ipafont {};
|
||||||
ipaexfont = callPackage ../data/fonts/ipaexfont {};
|
ipaexfont = callPackage ../data/fonts/ipaexfont {};
|
||||||
@ -20038,4 +20036,6 @@ with pkgs;
|
|||||||
};
|
};
|
||||||
|
|
||||||
wal-g = callPackage ../tools/backup/wal-g {};
|
wal-g = callPackage ../tools/backup/wal-g {};
|
||||||
|
|
||||||
|
tlwg = callPackage ../data/fonts/tlwg { };
|
||||||
}
|
}
|
||||||
|
@ -176,10 +176,17 @@ let
|
|||||||
|
|
||||||
cryptokit = callPackage ../development/ocaml-modules/cryptokit { };
|
cryptokit = callPackage ../development/ocaml-modules/cryptokit { };
|
||||||
|
|
||||||
cstruct = callPackage ../development/ocaml-modules/cstruct {
|
cstruct =
|
||||||
|
if lib.versionAtLeast ocaml.version "4.2"
|
||||||
|
then callPackage ../development/ocaml-modules/cstruct {}
|
||||||
|
else callPackage ../development/ocaml-modules/cstruct/1.9.0.nix { lwt = ocaml_lwt; };
|
||||||
|
|
||||||
|
cstruct-lwt = callPackage ../development/ocaml-modules/cstruct/lwt.nix {
|
||||||
lwt = ocaml_lwt;
|
lwt = ocaml_lwt;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
cstruct-unix = callPackage ../development/ocaml-modules/cstruct/unix.nix {};
|
||||||
|
|
||||||
csv =
|
csv =
|
||||||
if lib.versionAtLeast ocaml.version "4.2"
|
if lib.versionAtLeast ocaml.version "4.2"
|
||||||
then callPackage ../development/ocaml-modules/csv { }
|
then callPackage ../development/ocaml-modules/csv { }
|
||||||
@ -380,9 +387,7 @@ let
|
|||||||
|
|
||||||
mtime = callPackage ../development/ocaml-modules/mtime { };
|
mtime = callPackage ../development/ocaml-modules/mtime { };
|
||||||
|
|
||||||
nocrypto = callPackage ../development/ocaml-modules/nocrypto {
|
nocrypto = callPackage ../development/ocaml-modules/nocrypto { };
|
||||||
lwt = ocaml_lwt;
|
|
||||||
};
|
|
||||||
|
|
||||||
notty = callPackage ../development/ocaml-modules/notty {
|
notty = callPackage ../development/ocaml-modules/notty {
|
||||||
lwt = ocaml_lwt;
|
lwt = ocaml_lwt;
|
||||||
@ -570,6 +575,8 @@ let
|
|||||||
then callPackage ../development/ocaml-modules/ppx_blob {}
|
then callPackage ../development/ocaml-modules/ppx_blob {}
|
||||||
else null;
|
else null;
|
||||||
|
|
||||||
|
ppx_cstruct = callPackage ../development/ocaml-modules/cstruct/ppx.nix {};
|
||||||
|
|
||||||
ppx_derivers = callPackage ../development/ocaml-modules/ppx_derivers {};
|
ppx_derivers = callPackage ../development/ocaml-modules/ppx_derivers {};
|
||||||
|
|
||||||
ppx_deriving =
|
ppx_deriving =
|
||||||
|
@ -21477,6 +21477,8 @@ EOF
|
|||||||
name = "carbon-${version}";
|
name = "carbon-${version}";
|
||||||
version = graphiteVersion;
|
version = graphiteVersion;
|
||||||
|
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url = "mirror://pypi/c/carbon/${name}.tar.gz";
|
url = "mirror://pypi/c/carbon/${name}.tar.gz";
|
||||||
sha256 = "142smpmgbnjinvfb6s4ijazish4vfgzyd8zcmdkh55y051fkixkn";
|
sha256 = "142smpmgbnjinvfb6s4ijazish4vfgzyd8zcmdkh55y051fkixkn";
|
||||||
@ -21488,6 +21490,7 @@ EOF
|
|||||||
homepage = http://graphite.wikidot.com/;
|
homepage = http://graphite.wikidot.com/;
|
||||||
description = "Backend data caching and persistence daemon for Graphite";
|
description = "Backend data caching and persistence daemon for Graphite";
|
||||||
maintainers = with maintainers; [ rickynils offline ];
|
maintainers = with maintainers; [ rickynils offline ];
|
||||||
|
license = licenses.asl20;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user