Merge branch 'master' into staging
This commit is contained in:
commit
c2b679516f
|
@ -20,7 +20,7 @@ For daily builds (beta and nightly) use either rustup from
|
|||
nixpkgs or use the [Rust nightlies
|
||||
overlay](#using-the-rust-nightlies-overlay).
|
||||
|
||||
## Packaging Rust applications
|
||||
## Compiling Rust applications with Cargo
|
||||
|
||||
Rust applications are packaged by using the `buildRustPackage` helper from `rustPlatform`:
|
||||
|
||||
|
@ -56,6 +56,167 @@ checksum can be then take from the failed build.
|
|||
To install crates with nix there is also an experimental project called
|
||||
[nixcrates](https://github.com/fractalide/nixcrates).
|
||||
|
||||
## Compiling Rust crates using Nix instead of Cargo
|
||||
|
||||
When run, `cargo build` produces a file called `Cargo.lock`,
|
||||
containing pinned versions of all dependencies. Nixpkgs contains a
|
||||
tool called `carnix` (`nix-env -iA nixos.carnix`), which can be used
|
||||
to turn a `Cargo.lock` into a Nix expression.
|
||||
|
||||
That Nix expression calls `rustc` directly (hence bypassing Cargo),
|
||||
and can be used to compile a crate and all its dependencies. Here is
|
||||
an example for a minimal `hello` crate:
|
||||
|
||||
|
||||
$ cargo new hello
|
||||
$ cd hello
|
||||
$ cargo build
|
||||
Compiling hello v0.1.0 (file:///tmp/hello)
|
||||
Finished dev [unoptimized + debuginfo] target(s) in 0.20 secs
|
||||
$ carnix -o hello.nix --src ./. Cargo.lock --standalone
|
||||
$ nix-build hello.nix
|
||||
|
||||
Now, the file produced by the call to `carnix`, called `hello.nix`, looks like:
|
||||
|
||||
```
|
||||
with import <nixpkgs> {};
|
||||
let kernel = buildPlatform.parsed.kernel.name;
|
||||
# ... (content skipped)
|
||||
hello_0_1_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "hello";
|
||||
version = "0.1.0";
|
||||
authors = [ "Authorname <user@example.com>" ];
|
||||
src = ./.;
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
in
|
||||
rec {
|
||||
hello_0_1_0 = hello_0_1_0_ rec {};
|
||||
}
|
||||
```
|
||||
|
||||
In particular, note that the argument given as `--src` is copied
|
||||
verbatim to the source. If we look at a more complicated
|
||||
dependencies, for instance by adding a single line `libc="*"` to our
|
||||
`Cargo.toml`, we first need to run `cargo build` to update the
|
||||
`Cargo.lock`. Then, `carnix` needs to be run again, and produces the
|
||||
following nix file:
|
||||
|
||||
```
|
||||
with import <nixpkgs> {};
|
||||
let kernel = buildPlatform.parsed.kernel.name;
|
||||
# ... (content skipped)
|
||||
hello_0_1_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "hello";
|
||||
version = "0.1.0";
|
||||
authors = [ "Jörg Thalheim <joerg@thalheim.io>" ];
|
||||
src = ./.;
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
libc_0_2_34_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "libc";
|
||||
version = "0.2.34";
|
||||
authors = [ "The Rust Project Developers" ];
|
||||
sha256 = "11jmqdxmv0ka10ay0l8nzx0nl7s2lc3dbrnh1mgbr2grzwdyxi2s";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
in
|
||||
rec {
|
||||
hello_0_1_0 = hello_0_1_0_ rec {
|
||||
dependencies = [ libc_0_2_34 ];
|
||||
};
|
||||
libc_0_2_34_features."default".from_hello_0_1_0__default = true;
|
||||
libc_0_2_34 = libc_0_2_34_ rec {
|
||||
features = mkFeatures libc_0_2_34_features;
|
||||
};
|
||||
libc_0_2_34_features."use_std".self_default = hasDefault libc_0_2_34_features;
|
||||
}
|
||||
```
|
||||
|
||||
Here, the `libc` crate has no `src` attribute, so `buildRustCrate`
|
||||
will fetch it from [crates.io](https://crates.io). A `sha256`
|
||||
attribute is still needed for Nix purity.
|
||||
|
||||
Some crates require external libraries. For crates from
|
||||
[crates.io](https://crates.io), such libraries can be specified in
|
||||
`defaultCrateOverrides` package in nixpkgs itself.
|
||||
|
||||
Starting from that file, one can add more overrides, to add features
|
||||
or build inputs by overriding the hello crate in a seperate file.
|
||||
|
||||
```
|
||||
with import <nixpkgs> {};
|
||||
(import ./hello.nix).hello_0_1_0.override {
|
||||
crateOverrides = defaultCrateOverrides // {
|
||||
hello = attrs: { buildInputs = [ openssl ]; };
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
Here, `crateOverrides` is expected to be a attribute set, where the
|
||||
key is the crate name without version number and the value a function.
|
||||
The function gets all attributes passed to `buildRustCrate` as first
|
||||
argument and returns a set that contains all attribute that should be
|
||||
overwritten.
|
||||
|
||||
For more complicated cases, such as when parts of the crate's
|
||||
derivation depend on the the crate's version, the `attrs` argument of
|
||||
the override above can be read, as in the following example, which
|
||||
patches the derivation:
|
||||
|
||||
```
|
||||
with import <nixpkgs> {};
|
||||
(import ./hello.nix).hello_0_1_0.override {
|
||||
crateOverrides = defaultCrateOverrides // {
|
||||
hello = attrs: lib.optionalAttrs (lib.versionAtLeast attrs.version "1.0") {
|
||||
postPatch = ''
|
||||
substituteInPlace lib/zoneinfo.rs \
|
||||
--replace "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo"
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
Another situation is when we want to override a nested
|
||||
dependency. This actually works in the exact same way, since the
|
||||
`crateOverrides` parameter is forwarded to the crate's
|
||||
dependencies. For instance, to override the build inputs for crate
|
||||
`libc` in the example above, where `libc` is a dependency of the main
|
||||
crate, we could do:
|
||||
|
||||
```
|
||||
with import <nixpkgs> {};
|
||||
(import hello.nix).hello_0_1_0.override {
|
||||
crateOverrides = defaultCrateOverrides // {
|
||||
libc = attrs: { buildInputs = []; };
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
Three more parameters can be overridden:
|
||||
|
||||
- The version of rustc used to compile the crate:
|
||||
|
||||
```
|
||||
hello_0_1_0.override { rust = pkgs.rust; };
|
||||
```
|
||||
|
||||
- Whether to build in release mode or debug mode (release mode by
|
||||
default):
|
||||
|
||||
```
|
||||
hello_0_1_0.override { release = false; };
|
||||
```
|
||||
|
||||
- Whether to print the commands sent to rustc when building
|
||||
(equivalent to `--verbose` in cargo:
|
||||
|
||||
```
|
||||
hello_0_1_0.override { verbose = false; };
|
||||
```
|
||||
|
||||
|
||||
## Using the Rust nightlies overlay
|
||||
|
||||
Mozilla provides an overlay for nixpkgs to bring a nightly version of Rust into scope.
|
||||
|
|
|
@ -433,6 +433,7 @@
|
|||
mog = "Matthew O'Gorman <mog-lists@rldn.net>";
|
||||
montag451 = "montag451 <montag451@laposte.net>";
|
||||
moosingin3space = "Nathan Moos <moosingin3space@gmail.com>";
|
||||
moredread = "André-Patrick Bubel <code@apb.name>";
|
||||
moretea = "Maarten Hoogendoorn <maarten@moretea.nl>";
|
||||
mornfall = "Petr Ročkai <me@mornfall.net>";
|
||||
MostAwesomeDude = "Corbin Simpson <cds@corbinsimpson.com>";
|
||||
|
@ -516,6 +517,7 @@
|
|||
plcplc = "Philip Lykke Carlsen <plcplc@gmail.com>";
|
||||
plumps = "Maksim Bronsky <maks.bronsky@web.de";
|
||||
pmahoney = "Patrick Mahoney <pat@polycrystal.org>";
|
||||
pmeunier = "Pierre-Étienne Meunier <pierre-etienne.meunier@inria.fr>";
|
||||
pmiddend = "Philipp Middendorf <pmidden@secure.mailbox.org>";
|
||||
polyrod = "Maurizio Di Pietro <dc1mdp@gmail.com>";
|
||||
pradeepchhetri = "Pradeep Chhetri <pradeep.chhetri89@gmail.com>";
|
||||
|
|
|
@ -131,6 +131,12 @@ following incompatible changes:</para>
|
|||
must be set to true.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
The option <option>services.logstash.listenAddress</option> is now <literal>127.0.0.1</literal> by default.
|
||||
Previously the default behaviour was to listen on all interfaces.
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
</section>
|
||||
|
|
|
@ -150,8 +150,6 @@ in pkgs.vmTools.runInLinuxVM (
|
|||
}
|
||||
''
|
||||
${if partitioned then ''
|
||||
. /sys/class/block/vda1/uevent
|
||||
mknod /dev/vda1 b $MAJOR $MINOR
|
||||
rootDisk=/dev/vda1
|
||||
'' else ''
|
||||
rootDisk=/dev/vda
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
x86_64-linux = "/nix/store/b4s1gxiis1ryvybnjhdjvgc5sr1nq0ys-nix-1.11.15";
|
||||
i686-linux = "/nix/store/kgb5hs7qw13bvb6icramv1ry9dard3h9-nix-1.11.15";
|
||||
x86_64-darwin = "/nix/store/dgwz3dxdzs2wwd7pg7cdhvl8rv0qpnbj-nix-1.11.15";
|
||||
x86_64-linux = "/nix/store/gy4yv67gv3j6in0lalw37j353zdmfcwm-nix-1.11.16";
|
||||
i686-linux = "/nix/store/ifmyq5ryfxhhrzh62hiq65xyz1fwffga-nix-1.11.16";
|
||||
aarch64-linux = "/nix/store/y9mfv3sx75mbfibf1zna1kq9v98fk2nb-nix-1.11.16";
|
||||
x86_64-darwin = "/nix/store/hwpp7kia2f0in5ns2hiw41q38k30jpj2-nix-1.11.16";
|
||||
}
|
||||
|
|
|
@ -103,7 +103,7 @@ in
|
|||
|
||||
listenAddress = mkOption {
|
||||
type = types.str;
|
||||
default = "0.0.0.0";
|
||||
default = "127.0.0.1";
|
||||
description = "Address on which to start webserver.";
|
||||
};
|
||||
|
||||
|
|
|
@ -241,6 +241,19 @@ in {
|
|||
A list of scripts which will be executed in response to network events.
|
||||
'';
|
||||
};
|
||||
|
||||
enableStrongSwan = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = ''
|
||||
Enable the StrongSwan plugin.
|
||||
</para><para>
|
||||
If you enable this option the
|
||||
<literal>networkmanager_strongswan</literal> plugin will be added to
|
||||
the <option>networking.networkmanager.packages</option> option
|
||||
so you don't need to to that yourself.
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -335,7 +348,11 @@ in {
|
|||
|
||||
security.polkit.extraConfig = polkitConf;
|
||||
|
||||
services.dbus.packages = cfg.packages;
|
||||
networking.networkmanager.packages =
|
||||
mkIf cfg.enableStrongSwan [ pkgs.networkmanager_strongswan ];
|
||||
|
||||
services.dbus.packages =
|
||||
optional cfg.enableStrongSwan pkgs.strongswanNM ++ cfg.packages;
|
||||
|
||||
services.udev.packages = cfg.packages;
|
||||
};
|
||||
|
|
|
@ -726,6 +726,11 @@ in
|
|||
|
||||
networking.dhcpcd.denyInterfaces = [ "ve-*" "vb-*" ];
|
||||
|
||||
services.udev.extraRules = optionalString config.networking.networkmanager.enable ''
|
||||
# Don't manage interfaces created by nixos-container.
|
||||
ENV{INTERFACE}=="v[eb]-*", ENV{NM_UNMANAGED}="1"
|
||||
'';
|
||||
|
||||
environment.systemPackages = [ pkgs.nixos-container ];
|
||||
});
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ let
|
|||
'';
|
||||
};
|
||||
# WARNING: DON'T DO THIS IN PRODUCTION!
|
||||
# This puts secrets (albeit hashed) directly into the Nix store for ease of testing.
|
||||
# This puts unhashed secrets directly into the Nix store for ease of testing.
|
||||
environment.etc."radicale/htpasswd".source = pkgs.runCommand "htpasswd" {} ''
|
||||
${pkgs.apacheHttpd}/bin/htpasswd -bcB "$out" ${user} ${password}
|
||||
'';
|
||||
|
|
|
@ -3,14 +3,14 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "calf-${version}";
|
||||
version = "0.0.60";
|
||||
version = "0.90.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://calf-studio-gear.org/files/${name}.tar.gz";
|
||||
sha256 = "019fwg00jv217a5r767z7szh7vdrarybac0pr2sk26xp81kibrx9";
|
||||
sha256 = "0dijv2j7vlp76l10s4v8gbav26ibaqk8s24ci74vrc398xy00cib";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
buildInputs = [
|
||||
cairo expat fftwSinglePrec fluidsynth glib gtk2 libjack2 ladspaH
|
||||
libglade lv2 pkgconfig
|
||||
];
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
, libxslt, lv2, pkgconfig, premake3, xorg, ladspa-sdk }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "distrho-ports-unstable-2017-08-04";
|
||||
name = "distrho-ports-unstable-2017-10-10";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/DISTRHO/DISTRHO-Ports.git";
|
||||
rev = "f591a1066cd3929536699bb516caa4b5efd9d025";
|
||||
sha256 = "1qjnmpmwbq2zpwn8v1dmqn3bjp2ykj5p89fkjax7idgpx1cg7pp9";
|
||||
rev = "e11e2b204c14b8e370a0bf5beafa5f162fedb8e9";
|
||||
sha256 = "1nd542iian9kr2ldaf7fkkgf900ryzqigks999d1jhms6p0amvfv";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
|
@ -37,12 +37,12 @@ stdenv.mkDerivation rec {
|
|||
description = "A collection of cross-platform audio effects and plugins";
|
||||
longDescription = ''
|
||||
Includes:
|
||||
Dexed drowaudio-distortion drowaudio-distortionshaper drowaudio-flanger
|
||||
drowaudio-reverb drowaudio-tremolo drumsynt EasySSP eqinox
|
||||
JuceDemoPlugin klangfalter LUFSMeter luftikus obxd pitchedDelay
|
||||
stereosourceseparation TAL-Dub-3 TAL-Filter TAL-Filter-2 TAL-NoiseMaker
|
||||
TAL-Reverb TAL-Reverb-2 TAL-Reverb-3 TAL-Vocoder-2 TheFunction
|
||||
ThePilgrim Vex Wolpertinger
|
||||
Dexed drowaudio-distortion drowaudio-distortionshaper drowaudio-flanger
|
||||
drowaudio-reverb drowaudio-tremolo drumsynth EasySSP eqinox HiReSam
|
||||
JuceDemoPlugin KlangFalter LUFSMeter LUFSMeterMulti Luftikus Obxd
|
||||
PitchedDelay ReFine StereoSourceSeparation TAL-Dub-3 TAL-Filter
|
||||
TAL-Filter-2 TAL-NoiseMaker TAL-Reverb TAL-Reverb-2 TAL-Reverb-3
|
||||
TAL-Vocoder-2 TheFunction ThePilgrim Vex Wolpertinger
|
||||
'';
|
||||
maintainers = [ maintainers.goibhniu ];
|
||||
platforms = platforms.linux;
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
{ stdenv, fetchFromGitHub, lv2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mod-distortion-${version}";
|
||||
version = "git-2015-05-18";
|
||||
name = "mod-distortion-git-${version}";
|
||||
version = "2016-08-19";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "portalmod";
|
||||
repo = "mod-distortion";
|
||||
rev = "0cdf186abc2a9275890b57057faf5c3f6d86d84a";
|
||||
sha256 = "1wmxgpcdcy9m7j78yq85824if0wz49wv7mw13bj3sw2s87dcmw19";
|
||||
rev = "e672d5feb9d631798e3d56eb96e8958c3d2c6821";
|
||||
sha256 = "005wdkbhn9dgjqv019cwnziqg86yryc5vh7j5qayrzh9v446dw34";
|
||||
};
|
||||
|
||||
buildInputs = [ lv2 ];
|
||||
|
||||
installFlags = [ "LV2_PATH=$(out)/lib/lv2" ];
|
||||
installFlags = [ "INSTALL_PATH=$(out)/lib/lv2" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/portalmod/mod-distortion;
|
||||
|
|
|
@ -14,8 +14,8 @@ let
|
|||
else throw "ImageMagick is not supported on this platform.";
|
||||
|
||||
cfg = {
|
||||
version = "7.0.7-9";
|
||||
sha256 = "0p0879chcfrghcamwgxxcmaaj04xv0z91ris7hxi37qdw8c7836w";
|
||||
version = "7.0.7-14";
|
||||
sha256 = "04hpc9i6fp09iy0xkidlfhfqr7zg45izqqj5fx93n3dxalq65xqw";
|
||||
patches = [];
|
||||
};
|
||||
in
|
||||
|
|
|
@ -14,8 +14,8 @@ let
|
|||
else throw "ImageMagick is not supported on this platform.";
|
||||
|
||||
cfg = {
|
||||
version = "6.9.9-23";
|
||||
sha256 = "0cd6zcbcfvznf0i3q4xz1c4wm4cfplg4zc466lvlb1w8qbn25948";
|
||||
version = "6.9.9-26";
|
||||
sha256 = "10rcq7b9hhz50m4yqnm4g3iai7lr9jkglb7sm49ycw59arrkmwnw";
|
||||
patches = [];
|
||||
}
|
||||
# Freeze version on mingw so we don't need to port the patch too often.
|
||||
|
|
|
@ -2,14 +2,14 @@
|
|||
, libjpeg, libpng, libtiff, libxml2, zlib, libtool, xz, libX11
|
||||
, libwebp, quantumdepth ? 8, fixDarwinDylibNames }:
|
||||
|
||||
let version = "1.3.26"; in
|
||||
let version = "1.3.27"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "graphicsmagick-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/graphicsmagick/GraphicsMagick-${version}.tar.xz";
|
||||
sha256 = "122zgs96dqrys62mnh8x5yvfff6km4d3yrnvaxzg3mg5sprib87v";
|
||||
sha256 = "0rq35p3rml10cxz2z4s7xcfsilhhk19mmy094g3ivz0fg797hcnh";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
|
|
@ -1,24 +1,24 @@
|
|||
{ stdenv, fetchurl, python2Packages }:
|
||||
{ stdenv, fetchurl, python3, python3Packages }:
|
||||
|
||||
python2Packages.buildPythonApplication rec {
|
||||
python3Packages.buildPythonApplication rec {
|
||||
name = "electrum-${version}";
|
||||
version = "2.9.3";
|
||||
version = "3.0.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.electrum.org/${version}/Electrum-${version}.tar.gz";
|
||||
sha256 = "0d0fzb653g7b8ka3x90nl21md4g3n1fv11czdxpdq3s9yr6js6f2";
|
||||
sha256 = "09h3s1mbkliwh8758prbdk3sm19bnma7wy3k10pl9q9fkarbhp75";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python2Packages; [
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
dnspython
|
||||
ecdsa
|
||||
jsonrpclib
|
||||
jsonrpclib-pelix
|
||||
matplotlib
|
||||
pbkdf2
|
||||
protobuf
|
||||
pyaes
|
||||
pycrypto
|
||||
pyqt4
|
||||
pyqt5
|
||||
pysocks
|
||||
qrcode
|
||||
requests
|
||||
|
@ -35,7 +35,7 @@ python2Packages.buildPythonApplication rec {
|
|||
|
||||
preBuild = ''
|
||||
sed -i 's,usr_share = .*,usr_share = "'$out'/share",g' setup.py
|
||||
pyrcc4 icons.qrc -o gui/qt/icons_rc.py
|
||||
pyrcc5 icons.qrc -o gui/qt/icons_rc.py
|
||||
# Recording the creation timestamps introduces indeterminism to the build
|
||||
sed -i '/Created: .*/d' gui/qt/icons_rc.py
|
||||
'';
|
||||
|
@ -43,13 +43,15 @@ python2Packages.buildPythonApplication rec {
|
|||
postInstall = ''
|
||||
# Despite setting usr_share above, these files are installed under
|
||||
# $out/nix ...
|
||||
mv $out/lib/python2.7/site-packages/nix/store"/"*/share $out
|
||||
rm -rf $out/lib/python2.7/site-packages/nix
|
||||
mv $out/${python3.sitePackages}/nix/store"/"*/share $out
|
||||
rm -rf $out/${python3.sitePackages}/nix
|
||||
|
||||
substituteInPlace $out/share/applications/electrum.desktop \
|
||||
--replace "Exec=electrum %u" "Exec=$out/bin/electrum %u"
|
||||
'';
|
||||
|
||||
doCheck = false;
|
||||
|
||||
doInstallCheck = true;
|
||||
installCheckPhase = ''
|
||||
$out/bin/electrum help >/dev/null
|
||||
|
|
|
@ -0,0 +1,38 @@
|
|||
{ stdenv, lib, fetchFromGitHub, cmake, libuv, libmicrohttpd, openssl
|
||||
, opencl-headers, ocl-icd, hwloc, cudatoolkit
|
||||
, devDonationLevel ? "0.0"
|
||||
, cudaSupport ? false # doesn't work currently
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "xmr-stak-${version}";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fireice-uk";
|
||||
repo = "xmr-stak";
|
||||
rev = "v${version}";
|
||||
sha256 = "1gsp5d2qmc8qwbfm87c2vnak6ks6y9csfjbsi0570pdciapaf8vs";
|
||||
};
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-O3";
|
||||
|
||||
cmakeFlags = lib.optional (!cudaSupport) "-DCUDA_ENABLE=OFF";
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs =
|
||||
[ libmicrohttpd openssl opencl-headers ocl-icd hwloc ]
|
||||
++ lib.optional cudaSupport cudatoolkit;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace xmrstak/donate-level.hpp \
|
||||
--replace 'fDevDonationLevel = 2.0' 'fDevDonationLevel = ${devDonationLevel}'
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Unified All-in-one Monero miner";
|
||||
homepage = "https://github.com/fireice-uk/xmr-stak";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ fpletz ];
|
||||
};
|
||||
}
|
|
@ -135,6 +135,9 @@ stdenv.mkDerivation (rec {
|
|||
"--with-libclang-path=${llvmPackages.clang-unwrapped}/lib"
|
||||
"--with-clang-path=${llvmPackages.clang}/bin/clang"
|
||||
]
|
||||
++ lib.optionals (stdenv.lib.versionAtLeast version "57") [
|
||||
"--enable-webrender=build"
|
||||
]
|
||||
|
||||
# TorBrowser patches these
|
||||
++ lib.optionals (!isTorBrowserLike) [
|
||||
|
|
|
@ -98,8 +98,8 @@ in {
|
|||
});
|
||||
|
||||
terraform_0_11 = pluggable (generic {
|
||||
version = "0.11.0";
|
||||
sha256 = "0qsydg6bn7k6d68pd1y4j5iys9i66c690yq21axcpnjfibxgqyff";
|
||||
version = "0.11.1";
|
||||
sha256 = "04qyhlif3b3kjs3m6c3mx45sgr5r13x55aic638zzlrhbpmqiih1";
|
||||
patches = [ ./provider-path.patch ];
|
||||
passthru = { inherit plugins; };
|
||||
});
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
let
|
||||
|
||||
version = "2.9.0";
|
||||
version = "3.0.0";
|
||||
|
||||
rpath = stdenv.lib.makeLibraryPath [
|
||||
alsaLib
|
||||
|
@ -46,7 +46,7 @@ let
|
|||
if stdenv.system == "x86_64-linux" then
|
||||
fetchurl {
|
||||
url = "https://downloads.slack-edge.com/linux_releases/slack-desktop-${version}-amd64.deb";
|
||||
sha256 = "1ddfvsy4lr7hcnzxbk4crczylj1qwm9av02xms4w2p0k0c8nhvvc";
|
||||
sha256 = "17hq31x9k03rvj2sdsdfj6j75v30yrywlsbca4d56a0qsdzysxkw";
|
||||
}
|
||||
else
|
||||
throw "Slack is not supported on ${stdenv.system}";
|
||||
|
|
|
@ -97,7 +97,7 @@ stdenv.mkDerivation rec {
|
|||
description = "Mail indexer";
|
||||
homepage = https://notmuchmail.org/;
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ chaoflow garbas ];
|
||||
maintainers = with maintainers; [ chaoflow garbas the-kenny ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,81 +0,0 @@
|
|||
# - coqide compilation can be disabled by setting buildIde to false;
|
||||
# - The csdp program used for the Micromega tactic is statically referenced.
|
||||
# However, coq can build without csdp by setting it to null.
|
||||
# In this case some Micromega tactics will search the user's path for the csdp program and will fail if it is not found.
|
||||
|
||||
{stdenv, fetchgit, writeText, pkgconfig, ocamlPackages_4_02, ncurses, buildIde ? true, csdp ? null}:
|
||||
|
||||
let
|
||||
version = "2017-02-03";
|
||||
coq-version = "8.6";
|
||||
ideFlags = if buildIde then "-lablgtkdir ${ocamlPackages_4_02.lablgtk}/lib/ocaml/*/site-lib/lablgtk2 -coqide opt" else "";
|
||||
csdpPatch = if csdp != null then ''
|
||||
substituteInPlace plugins/micromega/sos.ml --replace "; csdp" "; ${csdp}/bin/csdp"
|
||||
substituteInPlace plugins/micromega/coq_micromega.ml --replace "System.is_in_system_path \"csdp\"" "true"
|
||||
'' else "";
|
||||
ocaml = ocamlPackages_4_02.ocaml;
|
||||
findlib = ocamlPackages_4_02.findlib;
|
||||
lablgtk = ocamlPackages_4_02.lablgtk;
|
||||
camlp5 = ocamlPackages_4_02.camlp5_transitional;
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "coq-unstable-${version}";
|
||||
|
||||
inherit coq-version;
|
||||
inherit ocaml camlp5 findlib;
|
||||
|
||||
src = fetchgit {
|
||||
url = git://scm.gforge.inria.fr/coq/coq.git;
|
||||
rev = "078598d029792a3d9a54fae9b9ac189b75bc3b06";
|
||||
sha256 = "0sflrpp6x0ada0bjh67q1x65g88d179n3cawpwkp1pm4kw76g8x7";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ ocaml findlib camlp5 ncurses lablgtk ];
|
||||
|
||||
postPatch = ''
|
||||
UNAME=$(type -tp uname)
|
||||
RM=$(type -tp rm)
|
||||
substituteInPlace configure --replace "/bin/uname" "$UNAME"
|
||||
substituteInPlace tools/beautify-archive --replace "/bin/rm" "$RM"
|
||||
substituteInPlace configure.ml --replace "\"Darwin\"; \"FreeBSD\"; \"OpenBSD\"" "\"Darwinx\"; \"FreeBSD\"; \"OpenBSD\""
|
||||
${csdpPatch}
|
||||
'';
|
||||
|
||||
setupHook = writeText "setupHook.sh" ''
|
||||
addCoqPath () {
|
||||
if test -d "''$1/lib/coq/${coq-version}/user-contrib"; then
|
||||
export COQPATH="''${COQPATH}''${COQPATH:+:}''$1/lib/coq/${coq-version}/user-contrib/"
|
||||
fi
|
||||
}
|
||||
|
||||
envHooks=(''${envHooks[@]} addCoqPath)
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
configureFlagsArray=(
|
||||
-opt
|
||||
${ideFlags}
|
||||
)
|
||||
'';
|
||||
|
||||
prefixKey = "-prefix ";
|
||||
|
||||
buildFlags = "revision coq coqide";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Coq proof assistant";
|
||||
longDescription = ''
|
||||
Coq is a formal proof management system. It provides a formal language
|
||||
to write mathematical definitions, executable algorithms and theorems
|
||||
together with an environment for semi-interactive development of
|
||||
machine-checked proofs.
|
||||
'';
|
||||
homepage = http://coq.inria.fr;
|
||||
license = licenses.lgpl21;
|
||||
branch = coq-version;
|
||||
maintainers = with maintainers; [ roconnor thoughtpolice vbgl ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
|
@ -208,9 +208,9 @@ rec {
|
|||
# https://github.com/docker/docker-ce/blob/v${version}/components/engine/hack/dockerfile/binaries-commits
|
||||
|
||||
docker_17_09 = dockerGen rec {
|
||||
version = "17.09.0-ce";
|
||||
rev = "afdb6d44a80f777069885a9ee0e0f86cf841b1bb"; # git commit
|
||||
sha256 = "03g0imdcxqx9y4hhyymxqzvm8bqg4cqrmb7sjbxfdgrhzh9kcn1p";
|
||||
version = "17.09.1-ce";
|
||||
rev = "19e2cf6259bd7f027a3fff180876a22945ce4ba8"; # git commit
|
||||
sha256 = "10glpbaw7bg2acgf1nmfn79is2b3xsm4shz67rp72dmpzzaavb42";
|
||||
runcRev = "3f2f8b84a77f73d38244dd690525642a72156c64";
|
||||
runcSha256 = "0vaagmav8443kmyxac2y1y5l2ipcs1c7gdmsnvj48y9bafqx72rq";
|
||||
containerdRev = "06b9cb35161009dcb7123345749fef02f7cea8e0";
|
||||
|
|
|
@ -25,8 +25,12 @@ stdenv.mkDerivation rec {
|
|||
buildInputs = [
|
||||
glib libxml2 gtk3 gtkvnc gmp libgcrypt gnupg cyrus_sasl shared_mime_info
|
||||
libvirt yajl gsettings_desktop_schemas makeWrapper libvirt-glib
|
||||
libcap_ng numactl libapparmor xen
|
||||
] ++ optionals spiceSupport [ spice_gtk spice_protocol libcap gdbm ];
|
||||
libcap_ng numactl libapparmor
|
||||
] ++ optionals stdenv.isx86_64 [
|
||||
xen
|
||||
] ++ optionals spiceSupport [
|
||||
spice_gtk spice_protocol libcap gdbm
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
for f in "$out"/bin/*; do
|
||||
|
|
|
@ -230,6 +230,12 @@ callPackage (import ./generic.nix (rec {
|
|||
XSA_243_45
|
||||
XSA_244_45
|
||||
XSA_245
|
||||
XSA_246_45
|
||||
XSA_247_45
|
||||
XSA_248_45
|
||||
XSA_249
|
||||
XSA_250_45
|
||||
XSA_251_45
|
||||
];
|
||||
|
||||
# Fix build on Glibc 2.24.
|
||||
|
|
|
@ -158,6 +158,12 @@ callPackage (import ./generic.nix (rec {
|
|||
XSA_243_48
|
||||
XSA_244
|
||||
XSA_245
|
||||
XSA_246
|
||||
XSA_247_48
|
||||
XSA_248_48
|
||||
XSA_249
|
||||
XSA_250
|
||||
XSA_251_48
|
||||
];
|
||||
|
||||
# Fix build on Glibc 2.24.
|
||||
|
|
|
@ -771,4 +771,97 @@ in rec {
|
|||
sha256 = "1k6z5r7wnrswsczn2j3a1mc4nvxqm4ydj6n6rvgqizk2pszdkqg8";
|
||||
})
|
||||
];
|
||||
|
||||
# 4.5 - 4.7
|
||||
XSA_246_45 = [
|
||||
(xsaPatch {
|
||||
name = "246-4.7";
|
||||
sha256 = "13rad4k8z3bq15d67dhgy96kdbrjiq9sy8px0jskbpx9ygjdahkn";
|
||||
})
|
||||
];
|
||||
|
||||
# 4.8 - 4.9
|
||||
XSA_246 = [
|
||||
(xsaPatch {
|
||||
name = "246-4.9";
|
||||
sha256 = "0z68vm0z5zvv9gm06pxs9kxq2q9fdbl0l0cm71ggzdplg1vw0snz";
|
||||
})
|
||||
];
|
||||
|
||||
# 4.8
|
||||
XSA_247_48 = [
|
||||
(xsaPatch {
|
||||
name = "247-4.8/0001-p2m-Always-check-to-see-if-removing-a-p2m-entry-actu";
|
||||
sha256 = "0kvjrk90n69s721c2qj2df5raml3pjk6bg80aig353p620w6s3xh";
|
||||
})
|
||||
(xsaPatch {
|
||||
name = "247-4.8/0002-p2m-Check-return-value-of-p2m_set_entry-when-decreas";
|
||||
sha256 = "1s9kv6h6dd8psi5qf5l5gpk9qhq8blckwhl76cjbldcgi6imb3nr";
|
||||
})
|
||||
];
|
||||
|
||||
# 4.5
|
||||
XSA_247_45 = [
|
||||
(xsaPatch {
|
||||
name = "247-4.5/0001-p2m-Always-check-to-see-if-removing-a-p2m-entry-actu";
|
||||
sha256 = "0h1mp5s9si8aw2gipds317f27h9pi7bgnhj0bcmw11p0ch98sg1m";
|
||||
})
|
||||
(xsaPatch {
|
||||
name = "247-4.5/0002-p2m-Check-return-value-of-p2m_set_entry-when-decreas";
|
||||
sha256 = "0vjjybxbcm4xl26wbqvcqfiyvvlayswm4f98i1fr5a9abmljn5sb";
|
||||
})
|
||||
];
|
||||
|
||||
# 4.5
|
||||
XSA_248_45 = [
|
||||
(xsaPatch {
|
||||
name = "248-4.5";
|
||||
sha256 = "0csxg6h492ddsa210b45av28iqf7cn2dfdqk4zx10zwf1pv2shyn";
|
||||
})
|
||||
];
|
||||
|
||||
# 4.8
|
||||
XSA_248_48 = [
|
||||
(xsaPatch {
|
||||
name = "248-4.8";
|
||||
sha256 = "1ycw29q22ymxg18kxpr5p7vhpmp8klssbp5gq77hspxzz2mb96q1";
|
||||
})
|
||||
];
|
||||
|
||||
# 4.5 .. 4.9
|
||||
XSA_249 = [
|
||||
(xsaPatch {
|
||||
name = "249";
|
||||
sha256 = "0v6ngzqhkz7yv4n83xlpxfbkr2qyg5b1cds7ikkinm86hiqy6agl";
|
||||
})
|
||||
];
|
||||
# 4.5
|
||||
XSA_250_45 = [
|
||||
(xsaPatch {
|
||||
name = "250-4.5";
|
||||
sha256 = "0pqldl6qnl834gvfp90z247q9xcjh3835s2iffnajz7jhjb2145d";
|
||||
})
|
||||
];
|
||||
# 4.8 ...
|
||||
XSA_250 = [
|
||||
(xsaPatch {
|
||||
name = "250";
|
||||
sha256 = "1wpigg8kmha57sspqqln3ih9nbczsw6rx3v72mc62lh62qvwd7x8";
|
||||
})
|
||||
];
|
||||
# 4.5
|
||||
XSA_251_45 = [
|
||||
(xsaPatch {
|
||||
name = "251-4.5";
|
||||
sha256 = "0lc94cx271z09r0mhxaypyd9d4740051p28idf5calx5228dqjgm";
|
||||
})
|
||||
];
|
||||
# 4.8
|
||||
XSA_251_48 = [
|
||||
(xsaPatch {
|
||||
name = "251-4.8";
|
||||
sha256 = "079wi0j6iydid2zj7k584w2c393kgh588w7sjz2nn4039qn8k9mq";
|
||||
})
|
||||
];
|
||||
|
||||
}
|
||||
|
|
|
@ -41,6 +41,8 @@ python27Packages.buildPythonApplication rec {
|
|||
--run 'export QTILE_SAVED_PATH=$PATH'
|
||||
'';
|
||||
|
||||
doCheck = false; # Requires X server.
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.qtile.org/;
|
||||
license = licenses.mit;
|
||||
|
@ -49,4 +51,3 @@ python27Packages.buildPythonApplication rec {
|
|||
maintainers = with maintainers; [ kamilchm ];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,382 @@
|
|||
# Code for buildRustCrate, a Nix function that builds Rust code, just
|
||||
# like Cargo, but using Nix instead.
|
||||
#
|
||||
# This can be useful for deploying packages with NixOps, and to share
|
||||
# binary dependencies between projects.
|
||||
|
||||
{ lib, buildPlatform, stdenv, defaultCrateOverrides, fetchCrate, ncurses, rustc }:
|
||||
|
||||
let buildCrate = { crateName, crateVersion, crateAuthors, buildDependencies,
|
||||
dependencies, completeDeps, completeBuildDeps,
|
||||
crateFeatures, libName, build, release, libPath,
|
||||
crateType, metadata, crateBin, finalBins,
|
||||
verbose, colors }:
|
||||
|
||||
let depsDir = lib.concatStringsSep " " dependencies;
|
||||
completeDepsDir = lib.concatStringsSep " " completeDeps;
|
||||
completeBuildDepsDir = lib.concatStringsSep " " completeBuildDeps;
|
||||
makeDeps = dependencies:
|
||||
(lib.concatMapStringsSep " " (dep:
|
||||
let extern = lib.strings.replaceStrings ["-"] ["_"] dep.libName; in
|
||||
(if dep.crateType == "lib" then
|
||||
" --extern ${extern}=${dep.out}/lib/lib${extern}-${dep.metadata}.rlib"
|
||||
else
|
||||
" --extern ${extern}=${dep.out}/lib/lib${extern}-${dep.metadata}${buildPlatform.extensions.sharedLibrary}")
|
||||
) dependencies);
|
||||
deps = makeDeps dependencies;
|
||||
buildDeps = makeDeps buildDependencies;
|
||||
optLevel = if release then 3 else 0;
|
||||
rustcOpts = (if release then "-C opt-level=3" else "-C debuginfo=2");
|
||||
rustcMeta = "-C metadata=${metadata} -C extra-filename=-${metadata}";
|
||||
version_ = lib.splitString "-" crateVersion;
|
||||
versionPre = if lib.tail version_ == [] then "" else builtins.elemAt version_ 1;
|
||||
version = lib.splitString "." (lib.head version_);
|
||||
authors = lib.concatStringsSep ":" crateAuthors;
|
||||
in ''
|
||||
norm=""
|
||||
bold=""
|
||||
green=""
|
||||
boldgreen=""
|
||||
if [[ "${colors}" -eq "always" ]]; then
|
||||
norm="$(printf '\033[0m')" #returns to "normal"
|
||||
bold="$(printf '\033[0;1m')" #set bold
|
||||
green="$(printf '\033[0;32m')" #set green
|
||||
boldgreen="$(printf '\033[0;1;32m')" #set bold, and set green.
|
||||
fi
|
||||
|
||||
echo_build_heading() {
|
||||
start=""
|
||||
end=""
|
||||
if [[ x"${colors}" -eq x"always" ]]; then
|
||||
start="$(printf '\033[0;1;32m')" #set bold, and set green.
|
||||
end="$(printf '\033[0m')" #returns to "normal"
|
||||
fi
|
||||
if (( $# == 1 )); then
|
||||
echo "$start""Building $1""$end"
|
||||
else
|
||||
echo "$start""Building $1 ($2)""$end"
|
||||
fi
|
||||
}
|
||||
|
||||
noisily() {
|
||||
start=""
|
||||
end=""
|
||||
if [[ x"${colors}" -eq x"always" ]]; then
|
||||
start="$(printf '\033[0;1;32m')" #set bold, and set green.
|
||||
end="$(printf '\033[0m')" #returns to "normal"
|
||||
fi
|
||||
${lib.optionalString verbose ''
|
||||
echo -n "$start"Running "$end"
|
||||
echo $@
|
||||
''}
|
||||
$@
|
||||
}
|
||||
|
||||
symlink_dependency() {
|
||||
# $1 is the nix-store path of a dependency
|
||||
i=$1
|
||||
dest=target/deps
|
||||
if [ ! -z $2 ]; then
|
||||
if [ "$2" = "--buildDep" ]; then
|
||||
dest=target/buildDeps
|
||||
fi
|
||||
fi
|
||||
ln -s -f $i/lib/*.rlib $dest #*/
|
||||
ln -s -f $i/lib/*.so $i/lib/*.dylib $dest #*/
|
||||
if [ -e "$i/lib/link" ]; then
|
||||
cat $i/lib/link >> target/link
|
||||
cat $i/lib/link >> target/link.final
|
||||
fi
|
||||
if [ -e $i/env ]; then
|
||||
source $i/env
|
||||
fi
|
||||
}
|
||||
|
||||
build_lib() {
|
||||
lib_src=$1
|
||||
echo_build_heading $lib_src ${libName}
|
||||
|
||||
noisily rustc --crate-name $CRATE_NAME $lib_src --crate-type ${crateType} \
|
||||
${rustcOpts} ${rustcMeta} ${crateFeatures} --out-dir target/lib \
|
||||
--emit=dep-info,link -L dependency=target/deps ${deps} --cap-lints allow \
|
||||
$BUILD_OUT_DIR $EXTRA_BUILD $EXTRA_FEATURES --color ${colors}
|
||||
|
||||
EXTRA_LIB=" --extern $CRATE_NAME=target/lib/lib$CRATE_NAME-${metadata}.rlib"
|
||||
if [ -e target/deps/lib$CRATE_NAME-${metadata}${buildPlatform.extensions.sharedLibrary} ]; then
|
||||
EXTRA_LIB="$EXTRA_LIB --extern $CRATE_NAME=target/lib/lib$CRATE_NAME-${metadata}${buildPlatform.extensions.sharedLibrary}"
|
||||
fi
|
||||
}
|
||||
|
||||
build_bin() {
|
||||
crate_name=$1
|
||||
crate_name_=$(echo $crate_name | sed -e "s/-/_/g")
|
||||
main_file=""
|
||||
if [[ ! -z $2 ]]; then
|
||||
main_file=$2
|
||||
fi
|
||||
echo_build_heading $@
|
||||
noisily rustc --crate-name $crate_name_ $main_file --crate-type bin ${rustcOpts}\
|
||||
${crateFeatures} --out-dir target/bin --emit=dep-info,link -L dependency=target/deps \
|
||||
$LINK ${deps}$EXTRA_LIB --cap-lints allow \
|
||||
$BUILD_OUT_DIR $EXTRA_BUILD $EXTRA_FEATURES --color ${colors}
|
||||
if [ "$crate_name_" -ne "$crate_name" ]; then
|
||||
mv target/bin/$crate_name_ target/bin/$crate_name
|
||||
fi
|
||||
}
|
||||
|
||||
runHook preBuild
|
||||
mkdir -p target/{deps,lib,build,buildDeps}
|
||||
chmod uga+w target -R
|
||||
for i in ${completeDepsDir}; do
|
||||
symlink_dependency $i
|
||||
done
|
||||
for i in ${completeBuildDepsDir}; do
|
||||
symlink_dependency $i --buildDep
|
||||
done
|
||||
if [ -e target/link ]; then
|
||||
sort -u target/link > target/link.sorted
|
||||
mv target/link.sorted target/link
|
||||
sort -u target/link.final > target/link.final.sorted
|
||||
mv target/link.final.sorted target/link.final
|
||||
tr '\n' ' ' < target/link > target/link_
|
||||
fi
|
||||
EXTRA_BUILD=""
|
||||
BUILD_OUT_DIR=""
|
||||
export CARGO_PKG_NAME=${crateName}
|
||||
export CARGO_PKG_VERSION=${crateVersion}
|
||||
export CARGO_PKG_AUTHORS="${authors}"
|
||||
export CARGO_CFG_TARGET_ARCH=${buildPlatform.parsed.cpu.name}
|
||||
export CARGO_CFG_TARGET_OS=${buildPlatform.parsed.kernel.name}
|
||||
|
||||
export CARGO_CFG_TARGET_ENV="gnu"
|
||||
export CARGO_MANIFEST_DIR="."
|
||||
export DEBUG="${toString (!release)}"
|
||||
export OPT_LEVEL="${toString optLevel}"
|
||||
export TARGET="${buildPlatform.config}"
|
||||
export HOST="${buildPlatform.config}"
|
||||
export PROFILE=${if release then "release" else "debug"}
|
||||
export OUT_DIR=$(pwd)/target/build/${crateName}.out
|
||||
export CARGO_PKG_VERSION_MAJOR=${builtins.elemAt version 0}
|
||||
export CARGO_PKG_VERSION_MINOR=${builtins.elemAt version 1}
|
||||
export CARGO_PKG_VERSION_PATCH=${builtins.elemAt version 2}
|
||||
if [ -n "${versionPre}" ]; then
|
||||
export CARGO_PKG_VERSION_PRE="${versionPre}"
|
||||
fi
|
||||
|
||||
BUILD=""
|
||||
if [[ ! -z "${build}" ]] ; then
|
||||
BUILD=${build}
|
||||
elif [[ -e "build.rs" ]]; then
|
||||
BUILD="build.rs"
|
||||
fi
|
||||
if [[ ! -z "$BUILD" ]] ; then
|
||||
echo_build_heading "$BUILD" ${libName}
|
||||
mkdir -p target/build/${crateName}
|
||||
EXTRA_BUILD_FLAGS=""
|
||||
if [ -e target/link_ ]; then
|
||||
EXTRA_BUILD_FLAGS=$(cat target/link_)
|
||||
fi
|
||||
if [ -e target/link.build ]; then
|
||||
EXTRA_BUILD_FLAGS="$EXTRA_BUILD_FLAGS $(cat target/link.build)"
|
||||
fi
|
||||
noisily rustc --crate-name build_script_build $BUILD --crate-type bin ${rustcOpts} \
|
||||
${crateFeatures} --out-dir target/build/${crateName} --emit=dep-info,link \
|
||||
-L dependency=target/buildDeps ${buildDeps} --cap-lints allow $EXTRA_BUILD_FLAGS --color ${colors}
|
||||
|
||||
mkdir -p target/build/${crateName}.out
|
||||
export RUST_BACKTRACE=1
|
||||
BUILD_OUT_DIR="-L $OUT_DIR"
|
||||
mkdir -p $OUT_DIR
|
||||
target/build/${crateName}/build_script_build > target/build/${crateName}.opt
|
||||
set +e
|
||||
EXTRA_BUILD=$(sed -n "s/^cargo:rustc-flags=\(.*\)/\1/p" target/build/${crateName}.opt | tr '\n' ' ')
|
||||
EXTRA_FEATURES=$(sed -n "s/^cargo:rustc-cfg=\(.*\)/--cfg \1/p" target/build/${crateName}.opt | tr '\n' ' ')
|
||||
EXTRA_LINK=$(sed -n "s/^cargo:rustc-link-lib=\(.*\)/\1/p" target/build/${crateName}.opt | tr '\n' ' ')
|
||||
EXTRA_LINK_SEARCH=$(sed -n "s/^cargo:rustc-link-search=\(.*\)/\1/p" target/build/${crateName}.opt | tr '\n' ' ')
|
||||
CRATENAME=$(echo ${crateName} | sed -e "s/\(.*\)-sys$/\U\1/")
|
||||
grep -P "^cargo:(?!(rustc-|warning=|rerun-if-changed=|rerun-if-env-changed))" target/build/${crateName}.opt \
|
||||
| sed -e "s/cargo:\([^=]*\)=\(.*\)/export DEP_$(echo $CRATENAME)_\U\1\E=\2/" > target/env
|
||||
|
||||
set -e
|
||||
if [ -n "$(ls target/build/${crateName}.out)" ]; then
|
||||
|
||||
if [ -e "${libPath}" ] ; then
|
||||
cp -r target/build/${crateName}.out/* $(dirname ${libPath}) #*/
|
||||
else
|
||||
cp -r target/build/${crateName}.out/* src #*/
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
EXTRA_LIB=""
|
||||
CRATE_NAME=$(echo ${libName} | sed -e "s/-/_/g")
|
||||
|
||||
if [ -e target/link_ ]; then
|
||||
EXTRA_BUILD="$(cat target/link_) $EXTRA_BUILD"
|
||||
fi
|
||||
|
||||
if [ -e "${libPath}" ] ; then
|
||||
build_lib ${libPath}
|
||||
elif [ -e src/lib.rs ] ; then
|
||||
build_lib src/lib.rs
|
||||
elif [ -e src/${libName}.rs ] ; then
|
||||
build_lib src/${libName}.rs
|
||||
fi
|
||||
|
||||
echo "$EXTRA_LINK_SEARCH" | while read i; do
|
||||
if [ ! -z "$i" ]; then
|
||||
for lib in $i; do
|
||||
echo "-L $lib" >> target/link
|
||||
L=$(echo $lib | sed -e "s#$(pwd)/target/build#$out/lib#")
|
||||
echo "-L $L" >> target/link.final
|
||||
done
|
||||
fi
|
||||
done
|
||||
echo "$EXTRA_LINK" | while read i; do
|
||||
if [ ! -z "$i" ]; then
|
||||
for lib in $i; do
|
||||
echo "-l $lib" >> target/link
|
||||
echo "-l $lib" >> target/link.final
|
||||
done
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -e target/link ]; then
|
||||
sort -u target/link.final > target/link.final.sorted
|
||||
mv target/link.final.sorted target/link.final
|
||||
sort -u target/link > target/link.sorted
|
||||
mv target/link.sorted target/link
|
||||
|
||||
tr '\n' ' ' < target/link > target/link_
|
||||
LINK=$(cat target/link_)
|
||||
fi
|
||||
|
||||
mkdir -p target/bin
|
||||
echo "${crateBin}" | sed -n 1'p' | tr ',' '\n' | while read BIN; do
|
||||
if [ ! -z "$BIN" ]; then
|
||||
build_bin $BIN
|
||||
fi
|
||||
done
|
||||
${lib.optionalString (crateBin == "") ''
|
||||
if [[ -e src/main.rs ]]; then
|
||||
build_bin ${crateName} src/main.rs
|
||||
fi
|
||||
for i in src/bin/*.rs; do #*/
|
||||
build_bin "$(basename $i .rs)" "$i"
|
||||
done
|
||||
''}
|
||||
# Remove object files to avoid "wrong ELF type"
|
||||
find target -type f -name "*.o" -print0 | xargs -0 rm -f
|
||||
runHook postBuild
|
||||
'' + finalBins;
|
||||
|
||||
installCrate = crateName: ''
|
||||
mkdir -p $out
|
||||
if [ -s target/env ]; then
|
||||
cp target/env $out/env
|
||||
fi
|
||||
if [ -s target/link.final ]; then
|
||||
mkdir -p $out/lib
|
||||
cp target/link.final $out/lib/link
|
||||
fi
|
||||
if [ "$(ls -A target/lib)" ]; then
|
||||
mkdir -p $out/lib
|
||||
cp target/lib/* $out/lib #*/
|
||||
fi
|
||||
if [ "$(ls -A target/build)" ]; then # */
|
||||
mkdir -p $out/lib
|
||||
cp -r target/build/* $out/lib # */
|
||||
fi
|
||||
if [ "$(ls -A target/bin)" ]; then
|
||||
mkdir -p $out/bin
|
||||
cp -P target/bin/* $out/bin # */
|
||||
fi
|
||||
'';
|
||||
in
|
||||
|
||||
crate_: lib.makeOverridable ({ rust, release, verbose, features, buildInputs, crateOverrides }:
|
||||
|
||||
let crate = crate_ // (lib.attrByPath [ crate_.crateName ] (attr: {}) crateOverrides crate_);
|
||||
buildInputs_ = buildInputs;
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
inherit (crate) crateName;
|
||||
|
||||
src = if lib.hasAttr "src" crate then
|
||||
crate.src
|
||||
else
|
||||
fetchCrate { inherit (crate) crateName version sha256; };
|
||||
name = "rust_${crate.crateName}-${crate.version}";
|
||||
buildInputs = [ rust ncurses ] ++ (crate.buildInputs or []) ++ buildInputs_;
|
||||
dependencies =
|
||||
builtins.map
|
||||
(dep: dep.override { rust = rust; release = release; verbose = verbose; crateOverrides = crateOverrides; })
|
||||
(crate.dependencies or []);
|
||||
|
||||
buildDependencies =
|
||||
builtins.map
|
||||
(dep: dep.override { rust = rust; release = release; verbose = verbose; crateOverrides = crateOverrides; })
|
||||
(crate.buildDependencies or []);
|
||||
|
||||
completeDeps = lib.lists.unique (dependencies ++ lib.lists.concatMap (dep: dep.completeDeps) dependencies);
|
||||
completeBuildDeps = lib.lists.unique (
|
||||
buildDependencies
|
||||
++ lib.lists.concatMap (dep: dep.completeBuildDeps ++ dep.completeDeps) buildDependencies
|
||||
);
|
||||
|
||||
crateFeatures = if crate ? features then
|
||||
lib.concatMapStringsSep " " (f: "--cfg feature=\\\"${f}\\\"") (crate.features ++ features)
|
||||
else "";
|
||||
|
||||
libName = if crate ? libName then crate.libName else crate.crateName;
|
||||
libPath = if crate ? libPath then crate.libPath else "";
|
||||
|
||||
metadata = builtins.substring 0 10 (builtins.hashString "sha256" (crateName + "-" + crateVersion));
|
||||
|
||||
crateBin = if crate ? crateBin then
|
||||
builtins.foldl' (bins: bin:
|
||||
let name =
|
||||
lib.strings.replaceStrings ["-"] ["_"]
|
||||
(if bin ? name then bin.name else crateName);
|
||||
path = if bin ? path then bin.path else "src/main.rs";
|
||||
in
|
||||
bins + (if bin == "" then "" else ",") + "${name} ${path}"
|
||||
|
||||
) "" crate.crateBin
|
||||
else "";
|
||||
|
||||
finalBins = if crate ? crateBin then
|
||||
builtins.foldl' (bins: bin:
|
||||
let name = lib.strings.replaceStrings ["-"] ["_"]
|
||||
(if bin ? name then bin.name else crateName);
|
||||
new_name = if bin ? name then bin.name else crateName;
|
||||
in
|
||||
if name == new_name then bins else
|
||||
(bins + "mv target/bin/${name} target/bin/${new_name};")
|
||||
|
||||
) "" crate.crateBin
|
||||
else "";
|
||||
|
||||
build = if crate ? build then crate.build else "";
|
||||
crateVersion = crate.version;
|
||||
crateAuthors = if crate ? authors && lib.isList crate.authors then crate.authors else [];
|
||||
crateType =
|
||||
if lib.attrByPath ["procMacro"] false crate then "proc-macro" else
|
||||
if lib.attrByPath ["plugin"] false crate then "dylib" else "lib";
|
||||
colors = lib.attrByPath [ "colors" ] "always" crate;
|
||||
buildPhase = buildCrate {
|
||||
inherit crateName dependencies buildDependencies completeDeps completeBuildDeps
|
||||
crateFeatures libName build release libPath crateType crateVersion
|
||||
crateAuthors metadata crateBin finalBins verbose colors;
|
||||
};
|
||||
installPhase = installCrate crateName;
|
||||
|
||||
}) {
|
||||
rust = rustc;
|
||||
release = true;
|
||||
verbose = true;
|
||||
features = [];
|
||||
buildInputs = [];
|
||||
crateOverrides = defaultCrateOverrides;
|
||||
}
|
|
@ -0,0 +1,875 @@
|
|||
# Generated by carnix 0.5.0: carnix -o carnix.nix --src ./. Cargo.lock
|
||||
{ lib, buildPlatform, buildRustCrate, fetchgit }:
|
||||
let kernel = buildPlatform.parsed.kernel.name;
|
||||
abi = buildPlatform.parsed.abi.name;
|
||||
hasFeature = feature:
|
||||
lib.lists.any
|
||||
(originName: feature.${originName})
|
||||
(builtins.attrNames feature);
|
||||
|
||||
hasDefault = feature:
|
||||
let defaultFeatures = builtins.attrNames (feature."default" or {}); in
|
||||
(defaultFeatures == [])
|
||||
|| (lib.lists.any (originName: feature."default".${originName}) defaultFeatures);
|
||||
|
||||
mkFeatures = feat: lib.lists.foldl (features: featureName:
|
||||
if featureName != "" && hasFeature feat.${featureName} then
|
||||
[ featureName ] ++ features
|
||||
else
|
||||
features
|
||||
) (if hasDefault feat then [ "default" ] else []) (builtins.attrNames feat);
|
||||
aho_corasick_0_6_3_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "aho-corasick";
|
||||
version = "0.6.3";
|
||||
authors = [ "Andrew Gallant <jamslam@gmail.com>" ];
|
||||
sha256 = "1cpqzf6acj8lm06z3f1cg41wn6c2n9l3v49nh0dvimv4055qib6k";
|
||||
libName = "aho_corasick";
|
||||
crateBin = [ { name = "aho-corasick-dot"; } ];
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
ansi_term_0_10_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "ansi_term";
|
||||
version = "0.10.2";
|
||||
authors = [ "ogham@bsago.me" "Ryan Scheel (Havvy) <ryan.havvy@gmail.com>" "Josh Triplett <josh@joshtriplett.org>" ];
|
||||
sha256 = "07k0hfmlhv43lihyxb9d81l5mq5zlpqvv30dkfd3knmv2ginasn9";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
atty_0_2_3_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "atty";
|
||||
version = "0.2.3";
|
||||
authors = [ "softprops <d.tangren@gmail.com>" ];
|
||||
sha256 = "0zl0cjfgarp5y78nd755lpki5bbkj4hgmi88v265m543yg29i88f";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
backtrace_0_3_4_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "backtrace";
|
||||
version = "0.3.4";
|
||||
authors = [ "Alex Crichton <alex@alexcrichton.com>" "The Rust Project Developers" ];
|
||||
sha256 = "1caba8w3rqd5ghr88ghyz5wgkf81dgx18bj1llkax6qmianc6gk7";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
backtrace_sys_0_1_16_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "backtrace-sys";
|
||||
version = "0.1.16";
|
||||
authors = [ "Alex Crichton <alex@alexcrichton.com>" ];
|
||||
sha256 = "1cn2c8q3dn06crmnk0p62czkngam4l8nf57wy33nz1y5g25pszwy";
|
||||
build = "build.rs";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
bitflags_0_7_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "bitflags";
|
||||
version = "0.7.0";
|
||||
authors = [ "The Rust Project Developers" ];
|
||||
sha256 = "1hr72xg5slm0z4pxs2hiy4wcyx3jva70h58b7mid8l0a4c8f7gn5";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
bitflags_1_0_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "bitflags";
|
||||
version = "1.0.1";
|
||||
authors = [ "The Rust Project Developers" ];
|
||||
sha256 = "0p4b3nr0s5nda2qmm7xdhnvh4lkqk3xd8l9ffmwbvqw137vx7mj1";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
carnix_0_5_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "carnix";
|
||||
version = "0.5.0";
|
||||
authors = [ "pe@pijul.org <pe@pijul.org>" ];
|
||||
sha256 = "0mrprfa9l6q351ci77zr305jk5wdii8gamaphd2iars4xwn26lj4";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
cc_1_0_3_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "cc";
|
||||
version = "1.0.3";
|
||||
authors = [ "Alex Crichton <alex@alexcrichton.com>" ];
|
||||
sha256 = "193pwqgh79w6k0k29svyds5nnlrwx44myqyrw605d5jj4yk2zmpr";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
cfg_if_0_1_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "cfg-if";
|
||||
version = "0.1.2";
|
||||
authors = [ "Alex Crichton <alex@alexcrichton.com>" ];
|
||||
sha256 = "0x06hvrrqy96m97593823vvxcgvjaxckghwyy2jcyc8qc7c6cyhi";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
clap_2_28_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "clap";
|
||||
version = "2.28.0";
|
||||
authors = [ "Kevin K. <kbknapp@gmail.com>" ];
|
||||
sha256 = "0m0rj9xw6mja4gdhqmaldv0q5y5jfsfzbyzfd70mm3857aynq03k";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
dbghelp_sys_0_2_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "dbghelp-sys";
|
||||
version = "0.2.0";
|
||||
authors = [ "Peter Atashian <retep998@gmail.com>" ];
|
||||
sha256 = "0ylpi3bbiy233m57hnisn1df1v0lbl7nsxn34b0anzsgg440hqpq";
|
||||
libName = "dbghelp";
|
||||
build = "build.rs";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
dtoa_0_4_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "dtoa";
|
||||
version = "0.4.2";
|
||||
authors = [ "David Tolnay <dtolnay@gmail.com>" ];
|
||||
sha256 = "1bxsh6fags7nr36vlz07ik2a1rzyipc8x1y30kjk832hf2pzadmw";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
either_1_4_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "either";
|
||||
version = "1.4.0";
|
||||
authors = [ "bluss" ];
|
||||
sha256 = "04kpfd84lvyrkb2z4sljlz2d3d5qczd0sb1yy37fgijq2yx3vb37";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
env_logger_0_4_3_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "env_logger";
|
||||
version = "0.4.3";
|
||||
authors = [ "The Rust Project Developers" ];
|
||||
sha256 = "0nrx04p4xa86d5kc7aq4fwvipbqji9cmgy449h47nc9f1chafhgg";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
error_chain_0_11_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "error-chain";
|
||||
version = "0.11.0";
|
||||
authors = [ "Brian Anderson <banderson@mozilla.com>" "Paul Colomiets <paul@colomiets.name>" "Colin Kiegel <kiegel@gmx.de>" "Yamakaky <yamakaky@yamaworld.fr>" ];
|
||||
sha256 = "19nz17q6dzp0mx2jhh9qbj45gkvvgcl7zq9z2ai5a8ihbisfj6d7";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
fuchsia_zircon_0_2_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "fuchsia-zircon";
|
||||
version = "0.2.1";
|
||||
authors = [ "Raph Levien <raph@google.com>" ];
|
||||
sha256 = "0yd4rd7ql1vdr349p6vgq2dnwmpylky1kjp8g1zgvp250jxrhddb";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
fuchsia_zircon_sys_0_2_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "fuchsia-zircon-sys";
|
||||
version = "0.2.0";
|
||||
authors = [ "Raph Levien <raph@google.com>" ];
|
||||
sha256 = "1yrqsrjwlhl3di6prxf5xmyd82gyjaysldbka5wwk83z11mpqh4w";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
itertools_0_7_3_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "itertools";
|
||||
version = "0.7.3";
|
||||
authors = [ "bluss" ];
|
||||
sha256 = "128a69cnmgpj38rs6lcwzya773d2vx7f9y7012iycjf9yi2pyckj";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
itoa_0_3_4_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "itoa";
|
||||
version = "0.3.4";
|
||||
authors = [ "David Tolnay <dtolnay@gmail.com>" ];
|
||||
sha256 = "1nfkzz6vrgj0d9l3yzjkkkqzdgs68y294fjdbl7jq118qi8xc9d9";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
kernel32_sys_0_2_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "kernel32-sys";
|
||||
version = "0.2.2";
|
||||
authors = [ "Peter Atashian <retep998@gmail.com>" ];
|
||||
sha256 = "1lrw1hbinyvr6cp28g60z97w32w8vsk6pahk64pmrv2fmby8srfj";
|
||||
libName = "kernel32";
|
||||
build = "build.rs";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
lazy_static_0_2_11_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "lazy_static";
|
||||
version = "0.2.11";
|
||||
authors = [ "Marvin Löbel <loebel.marvin@gmail.com>" ];
|
||||
sha256 = "1x6871cvpy5b96yv4c7jvpq316fp5d4609s9py7qk6cd6x9k34vm";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
libc_0_2_33_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "libc";
|
||||
version = "0.2.33";
|
||||
authors = [ "The Rust Project Developers" ];
|
||||
sha256 = "1l7synziccnvarsq2kk22vps720ih6chmn016bhr2bq54hblbnl1";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
libsqlite3_sys_0_9_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "libsqlite3-sys";
|
||||
version = "0.9.0";
|
||||
authors = [ "John Gallagher <jgallagher@bignerdranch.com>" ];
|
||||
sha256 = "1pnx3i9h85si6cs4nhazfb28hsvk7dn0arnfvpdzpjdnj9z38q57";
|
||||
build = "build.rs";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
linked_hash_map_0_4_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "linked-hash-map";
|
||||
version = "0.4.2";
|
||||
authors = [ "Stepan Koltsov <stepan.koltsov@gmail.com>" "Andrew Paseltiner <apaseltiner@gmail.com>" ];
|
||||
sha256 = "04da208h6jb69f46j37jnvsw2i1wqplglp4d61csqcrhh83avbgl";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
log_0_3_8_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "log";
|
||||
version = "0.3.8";
|
||||
authors = [ "The Rust Project Developers" ];
|
||||
sha256 = "1c43z4z85sxrsgir4s1hi84558ab5ic7jrn5qgmsiqcv90vvn006";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
lru_cache_0_1_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "lru-cache";
|
||||
version = "0.1.1";
|
||||
authors = [ "Stepan Koltsov <stepan.koltsov@gmail.com>" ];
|
||||
sha256 = "1hl6kii1g54sq649gnscv858mmw7a02xj081l4vcgvrswdi2z8fw";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
memchr_1_0_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "memchr";
|
||||
version = "1.0.2";
|
||||
authors = [ "Andrew Gallant <jamslam@gmail.com>" "bluss" ];
|
||||
sha256 = "0dfb8ifl9nrc9kzgd5z91q6qg87sh285q1ih7xgrsglmqfav9lg7";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
nom_3_2_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "nom";
|
||||
version = "3.2.1";
|
||||
authors = [ "contact@geoffroycouprie.com" ];
|
||||
sha256 = "1vcllxrz9hdw6j25kn020ka3psz1vkaqh1hm3yfak2240zrxgi07";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
num_traits_0_1_40_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "num-traits";
|
||||
version = "0.1.40";
|
||||
authors = [ "The Rust Project Developers" ];
|
||||
sha256 = "1fr8ghp4i97q3agki54i0hpmqxv3s65i2mqd1pinc7w7arc3fplw";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
pkg_config_0_3_9_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "pkg-config";
|
||||
version = "0.3.9";
|
||||
authors = [ "Alex Crichton <alex@alexcrichton.com>" ];
|
||||
sha256 = "06k8fxgrsrxj8mjpjcq1n7mn2p1shpxif4zg9y5h09c7vy20s146";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
quote_0_3_15_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "quote";
|
||||
version = "0.3.15";
|
||||
authors = [ "David Tolnay <dtolnay@gmail.com>" ];
|
||||
sha256 = "09il61jv4kd1360spaj46qwyl21fv1qz18fsv2jra8wdnlgl5jsg";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
rand_0_3_18_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "rand";
|
||||
version = "0.3.18";
|
||||
authors = [ "The Rust Project Developers" ];
|
||||
sha256 = "15d7c3myn968dzjs0a2pgv58hzdavxnq6swgj032lw2v966ir4xv";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
redox_syscall_0_1_32_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "redox_syscall";
|
||||
version = "0.1.32";
|
||||
authors = [ "Jeremy Soller <jackpot51@gmail.com>" ];
|
||||
sha256 = "1axxj8x6ngh6npkzqc5h216fajkcyrdxdgb7m2f0n5xfclbk47fv";
|
||||
libName = "syscall";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
redox_termios_0_1_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "redox_termios";
|
||||
version = "0.1.1";
|
||||
authors = [ "Jeremy Soller <jackpot51@gmail.com>" ];
|
||||
sha256 = "04s6yyzjca552hdaqlvqhp3vw0zqbc304md5czyd3axh56iry8wh";
|
||||
libPath = "src/lib.rs";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
regex_0_2_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "regex";
|
||||
version = "0.2.2";
|
||||
authors = [ "The Rust Project Developers" ];
|
||||
sha256 = "1f1zrrynfylg0vcfyfp60bybq4rp5g1yk2k7lc7fyz7mmc7k2qr7";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
regex_syntax_0_4_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "regex-syntax";
|
||||
version = "0.4.1";
|
||||
authors = [ "The Rust Project Developers" ];
|
||||
sha256 = "01yrsm68lj86ad1whgg1z95c2pfsvv58fz8qjcgw7mlszc0c08ls";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
rusqlite_0_13_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "rusqlite";
|
||||
version = "0.13.0";
|
||||
authors = [ "John Gallagher <jgallagher@bignerdranch.com>" ];
|
||||
sha256 = "1hj2464ar2y4324sk3jx7m9byhkcp60krrrs1v1i8dlhhlnkb9hc";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
rustc_demangle_0_1_5_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "rustc-demangle";
|
||||
version = "0.1.5";
|
||||
authors = [ "Alex Crichton <alex@alexcrichton.com>" ];
|
||||
sha256 = "096kkcx9j747700fhxj1s4rlwkj21pqjmvj64psdj6bakb2q13nc";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
serde_1_0_21_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "serde";
|
||||
version = "1.0.21";
|
||||
authors = [ "Erick Tryzelaar <erick.tryzelaar@gmail.com>" "David Tolnay <dtolnay@gmail.com>" ];
|
||||
sha256 = "10almq7pvx8s4ryiqk8gf7fj5igl0yq6dcjknwc67rkmxd8q50w3";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
serde_derive_1_0_21_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "serde_derive";
|
||||
version = "1.0.21";
|
||||
authors = [ "Erick Tryzelaar <erick.tryzelaar@gmail.com>" "David Tolnay <dtolnay@gmail.com>" ];
|
||||
sha256 = "0r20qyimm9scfaz7lc0swnhik9d045zklmbidd0zzpd4b2f3jsqm";
|
||||
procMacro = true;
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
serde_derive_internals_0_17_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "serde_derive_internals";
|
||||
version = "0.17.0";
|
||||
authors = [ "Erick Tryzelaar <erick.tryzelaar@gmail.com>" "David Tolnay <dtolnay@gmail.com>" ];
|
||||
sha256 = "1g1j3v6pj9wbcz3v3w4smjpwrcdwjicmf6yd5cbai04as9iwhw74";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
serde_json_1_0_6_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "serde_json";
|
||||
version = "1.0.6";
|
||||
authors = [ "Erick Tryzelaar <erick.tryzelaar@gmail.com>" "David Tolnay <dtolnay@gmail.com>" ];
|
||||
sha256 = "1kacyc59splwbg8gr7qs32pp9smgy1khq0ggnv07yxhs7h355vjz";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
strsim_0_6_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "strsim";
|
||||
version = "0.6.0";
|
||||
authors = [ "Danny Guo <dannyguo91@gmail.com>" ];
|
||||
sha256 = "1lz85l6y68hr62lv4baww29yy7g8pg20dlr0lbaswxmmcb0wl7gd";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
syn_0_11_11_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "syn";
|
||||
version = "0.11.11";
|
||||
authors = [ "David Tolnay <dtolnay@gmail.com>" ];
|
||||
sha256 = "0yw8ng7x1dn5a6ykg0ib49y7r9nhzgpiq2989rqdp7rdz3n85502";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
synom_0_11_3_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "synom";
|
||||
version = "0.11.3";
|
||||
authors = [ "David Tolnay <dtolnay@gmail.com>" ];
|
||||
sha256 = "1l6d1s9qjfp6ng2s2z8219igvlv7gyk8gby97sdykqc1r93d8rhc";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
tempdir_0_3_5_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "tempdir";
|
||||
version = "0.3.5";
|
||||
authors = [ "The Rust Project Developers" ];
|
||||
sha256 = "0rirc5prqppzgd15fm8ayan349lgk2k5iqdkrbwrwrv5pm4znsnz";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
termion_1_5_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "termion";
|
||||
version = "1.5.1";
|
||||
authors = [ "ticki <Ticki@users.noreply.github.com>" "gycos <alexandre.bury@gmail.com>" "IGI-111 <igi-111@protonmail.com>" ];
|
||||
sha256 = "02gq4vd8iws1f3gjrgrgpajsk2bk43nds5acbbb4s8dvrdvr8nf1";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
textwrap_0_9_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "textwrap";
|
||||
version = "0.9.0";
|
||||
authors = [ "Martin Geisler <martin@geisler.net>" ];
|
||||
sha256 = "18jg79ndjlwndz01mlbh82kkr2arqm658yn5kwp65l5n1hz8w4yb";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
thread_local_0_3_4_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "thread_local";
|
||||
version = "0.3.4";
|
||||
authors = [ "Amanieu d'Antras <amanieu@gmail.com>" ];
|
||||
sha256 = "1y6cwyhhx2nkz4b3dziwhqdvgq830z8wjp32b40pjd8r0hxqv2jr";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
time_0_1_38_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "time";
|
||||
version = "0.1.38";
|
||||
authors = [ "The Rust Project Developers" ];
|
||||
sha256 = "1ws283vvz7c6jfiwn53rmc6kybapr4pjaahfxxrz232b0qzw7gcp";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
toml_0_4_5_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "toml";
|
||||
version = "0.4.5";
|
||||
authors = [ "Alex Crichton <alex@alexcrichton.com>" ];
|
||||
sha256 = "06zxqhn3y58yzjfaykhcrvlf7p2dnn54kn3g4apmja3cn5b18lkk";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
unicode_width_0_1_4_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "unicode-width";
|
||||
version = "0.1.4";
|
||||
authors = [ "kwantam <kwantam@gmail.com>" ];
|
||||
sha256 = "1rp7a04icn9y5c0lm74nrd4py0rdl0af8bhdwq7g478n1xifpifl";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
unicode_xid_0_0_4_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "unicode-xid";
|
||||
version = "0.0.4";
|
||||
authors = [ "erick.tryzelaar <erick.tryzelaar@gmail.com>" "kwantam <kwantam@gmail.com>" ];
|
||||
sha256 = "1dc8wkkcd3s6534s5aw4lbjn8m67flkkbnajp5bl8408wdg8rh9v";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
unreachable_1_0_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "unreachable";
|
||||
version = "1.0.0";
|
||||
authors = [ "Jonathan Reem <jonathan.reem@gmail.com>" ];
|
||||
sha256 = "1am8czbk5wwr25gbp2zr007744fxjshhdqjz9liz7wl4pnv3whcf";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
utf8_ranges_1_0_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "utf8-ranges";
|
||||
version = "1.0.0";
|
||||
authors = [ "Andrew Gallant <jamslam@gmail.com>" ];
|
||||
sha256 = "0rzmqprwjv9yp1n0qqgahgm24872x6c0xddfym5pfndy7a36vkn0";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
vcpkg_0_2_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "vcpkg";
|
||||
version = "0.2.2";
|
||||
authors = [ "Jim McGrath <jimmc2@gmail.com>" ];
|
||||
sha256 = "1fl5j0ksnwrnsrf1b1a9lqbjgnajdipq0030vsbhx81mb7d9478a";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
vec_map_0_8_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "vec_map";
|
||||
version = "0.8.0";
|
||||
authors = [ "Alex Crichton <alex@alexcrichton.com>" "Jorge Aparicio <japaricious@gmail.com>" "Alexis Beingessner <a.beingessner@gmail.com>" "Brian Anderson <>" "tbu- <>" "Manish Goregaokar <>" "Aaron Turon <aturon@mozilla.com>" "Adolfo Ochagavía <>" "Niko Matsakis <>" "Steven Fackler <>" "Chase Southwood <csouth3@illinois.edu>" "Eduard Burtescu <>" "Florian Wilkens <>" "Félix Raimundo <>" "Tibor Benke <>" "Markus Siemens <markus@m-siemens.de>" "Josh Branchaud <jbranchaud@gmail.com>" "Huon Wilson <dbau.pp@gmail.com>" "Corey Farwell <coref@rwell.org>" "Aaron Liblong <>" "Nick Cameron <nrc@ncameron.org>" "Patrick Walton <pcwalton@mimiga.net>" "Felix S Klock II <>" "Andrew Paseltiner <apaseltiner@gmail.com>" "Sean McArthur <sean.monstar@gmail.com>" "Vadim Petrochenkov <>" ];
|
||||
sha256 = "07sgxp3cf1a4cxm9n3r27fcvqmld32bl2576mrcahnvm34j11xay";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
void_1_0_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "void";
|
||||
version = "1.0.2";
|
||||
authors = [ "Jonathan Reem <jonathan.reem@gmail.com>" ];
|
||||
sha256 = "0h1dm0dx8dhf56a83k68mijyxigqhizpskwxfdrs1drwv2cdclv3";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
winapi_0_2_8_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "winapi";
|
||||
version = "0.2.8";
|
||||
authors = [ "Peter Atashian <retep998@gmail.com>" ];
|
||||
sha256 = "0a45b58ywf12vb7gvj6h3j264nydynmzyqz8d8rqxsj6icqv82as";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
winapi_build_0_1_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||
crateName = "winapi-build";
|
||||
version = "0.1.1";
|
||||
authors = [ "Peter Atashian <retep998@gmail.com>" ];
|
||||
sha256 = "1lxlpi87rkhxcwp2ykf1ldw3p108hwm24nywf3jfrvmff4rjhqga";
|
||||
libName = "build";
|
||||
inherit dependencies buildDependencies features;
|
||||
};
|
||||
|
||||
in
|
||||
rec {
|
||||
aho_corasick_0_6_3 = aho_corasick_0_6_3_ rec {
|
||||
dependencies = [ memchr_1_0_2 ];
|
||||
};
|
||||
memchr_1_0_2_features."default".from_aho_corasick_0_6_3__default = true;
|
||||
ansi_term_0_10_2 = ansi_term_0_10_2_ rec {};
|
||||
atty_0_2_3 = atty_0_2_3_ rec {
|
||||
dependencies = (if kernel == "redox" then [ termion_1_5_1 ] else [])
|
||||
++ (if (kernel == "linux" || kernel == "darwin") then [ libc_0_2_33 ] else [])
|
||||
++ (if kernel == "windows" then [ kernel32_sys_0_2_2 winapi_0_2_8 ] else []);
|
||||
};
|
||||
termion_1_5_1_features."default".from_atty_0_2_3__default = true;
|
||||
libc_0_2_33_features."default".from_atty_0_2_3__default = false;
|
||||
kernel32_sys_0_2_2_features."default".from_atty_0_2_3__default = true;
|
||||
winapi_0_2_8_features."default".from_atty_0_2_3__default = true;
|
||||
backtrace_0_3_4 = backtrace_0_3_4_ rec {
|
||||
dependencies = [ cfg_if_0_1_2 rustc_demangle_0_1_5 ]
|
||||
++ (if (kernel == "linux" || kernel == "darwin") && !(kernel == "fuchsia") && !(kernel == "emscripten") && !(kernel == "darwin") && !(kernel == "ios") then [ backtrace_sys_0_1_16 ]
|
||||
++ (if lib.lists.any (x: x == "backtrace-sys") features then [backtrace_sys_0_1_16] else []) else [])
|
||||
++ (if (kernel == "linux" || kernel == "darwin") then [ libc_0_2_33 ] else [])
|
||||
++ (if kernel == "windows" then [ dbghelp_sys_0_2_0 kernel32_sys_0_2_2 winapi_0_2_8 ]
|
||||
++ (if lib.lists.any (x: x == "dbghelp-sys") features then [dbghelp_sys_0_2_0] else []) ++ (if lib.lists.any (x: x == "kernel32-sys") features then [kernel32_sys_0_2_2] else []) ++ (if lib.lists.any (x: x == "winapi") features then [winapi_0_2_8] else []) else []);
|
||||
features = mkFeatures backtrace_0_3_4_features;
|
||||
};
|
||||
backtrace_0_3_4_features."".self = true;
|
||||
backtrace_0_3_4_features."kernel32-sys".self_dbghelp = hasFeature (backtrace_0_3_4_features."dbghelp" or {});
|
||||
backtrace_0_3_4_features."winapi".self_dbghelp = hasFeature (backtrace_0_3_4_features."dbghelp" or {});
|
||||
backtrace_0_3_4_features."dbghelp-sys".self_dbghelp = hasFeature (backtrace_0_3_4_features."dbghelp" or {});
|
||||
backtrace_0_3_4_features."libunwind".self_default = hasDefault backtrace_0_3_4_features;
|
||||
backtrace_0_3_4_features."libbacktrace".self_default = hasDefault backtrace_0_3_4_features;
|
||||
backtrace_0_3_4_features."coresymbolication".self_default = hasDefault backtrace_0_3_4_features;
|
||||
backtrace_0_3_4_features."dladdr".self_default = hasDefault backtrace_0_3_4_features;
|
||||
backtrace_0_3_4_features."dbghelp".self_default = hasDefault backtrace_0_3_4_features;
|
||||
backtrace_0_3_4_features."addr2line".self_gimli-symbolize = hasFeature (backtrace_0_3_4_features."gimli-symbolize" or {});
|
||||
backtrace_0_3_4_features."findshlibs".self_gimli-symbolize = hasFeature (backtrace_0_3_4_features."gimli-symbolize" or {});
|
||||
backtrace_0_3_4_features."backtrace-sys".self_libbacktrace = hasFeature (backtrace_0_3_4_features."libbacktrace" or {});
|
||||
backtrace_0_3_4_features."rustc-serialize".self_serialize-rustc = hasFeature (backtrace_0_3_4_features."serialize-rustc" or {});
|
||||
backtrace_0_3_4_features."serde".self_serialize-serde = hasFeature (backtrace_0_3_4_features."serialize-serde" or {});
|
||||
backtrace_0_3_4_features."serde_derive".self_serialize-serde = hasFeature (backtrace_0_3_4_features."serialize-serde" or {});
|
||||
addr2line_0_0_0_features."default".from_backtrace_0_3_4__default = true;
|
||||
cfg_if_0_1_2_features."default".from_backtrace_0_3_4__default = true;
|
||||
cpp_demangle_0_0_0_features."default".from_backtrace_0_3_4__default = false;
|
||||
findshlibs_0_0_0_features."default".from_backtrace_0_3_4__default = true;
|
||||
rustc_demangle_0_1_5_features."default".from_backtrace_0_3_4__default = true;
|
||||
rustc_serialize_0_0_0_features."default".from_backtrace_0_3_4__default = true;
|
||||
serde_0_0_0_features."default".from_backtrace_0_3_4__default = true;
|
||||
serde_derive_0_0_0_features."default".from_backtrace_0_3_4__default = true;
|
||||
backtrace_sys_0_1_16_features."default".from_backtrace_0_3_4__default = true;
|
||||
libc_0_2_33_features."default".from_backtrace_0_3_4__default = true;
|
||||
dbghelp_sys_0_2_0_features."default".from_backtrace_0_3_4__default = true;
|
||||
kernel32_sys_0_2_2_features."default".from_backtrace_0_3_4__default = true;
|
||||
winapi_0_2_8_features."default".from_backtrace_0_3_4__default = true;
|
||||
backtrace_sys_0_1_16 = backtrace_sys_0_1_16_ rec {
|
||||
dependencies = [ libc_0_2_33 ];
|
||||
buildDependencies = [ cc_1_0_3 ];
|
||||
};
|
||||
libc_0_2_33_features."default".from_backtrace_sys_0_1_16__default = true;
|
||||
bitflags_0_7_0 = bitflags_0_7_0_ rec {};
|
||||
bitflags_1_0_1 = bitflags_1_0_1_ rec {
|
||||
features = mkFeatures bitflags_1_0_1_features;
|
||||
};
|
||||
bitflags_1_0_1_features."example_generated".self_default = hasDefault bitflags_1_0_1_features;
|
||||
carnix_0_5_0 = carnix_0_5_0_ rec {
|
||||
dependencies = [ clap_2_28_0 env_logger_0_4_3 error_chain_0_11_0 itertools_0_7_3 log_0_3_8 nom_3_2_1 regex_0_2_2 rusqlite_0_13_0 serde_1_0_21 serde_derive_1_0_21 serde_json_1_0_6 tempdir_0_3_5 toml_0_4_5 ];
|
||||
};
|
||||
clap_2_28_0_features."default".from_carnix_0_5_0__default = true;
|
||||
env_logger_0_4_3_features."default".from_carnix_0_5_0__default = true;
|
||||
error_chain_0_11_0_features."default".from_carnix_0_5_0__default = true;
|
||||
itertools_0_7_3_features."default".from_carnix_0_5_0__default = true;
|
||||
log_0_3_8_features."default".from_carnix_0_5_0__default = true;
|
||||
nom_3_2_1_features."default".from_carnix_0_5_0__default = true;
|
||||
regex_0_2_2_features."default".from_carnix_0_5_0__default = true;
|
||||
rusqlite_0_13_0_features."default".from_carnix_0_5_0__default = true;
|
||||
serde_1_0_21_features."default".from_carnix_0_5_0__default = true;
|
||||
serde_derive_1_0_21_features."default".from_carnix_0_5_0__default = true;
|
||||
serde_json_1_0_6_features."default".from_carnix_0_5_0__default = true;
|
||||
tempdir_0_3_5_features."default".from_carnix_0_5_0__default = true;
|
||||
toml_0_4_5_features."default".from_carnix_0_5_0__default = true;
|
||||
cc_1_0_3 = cc_1_0_3_ rec {
|
||||
dependencies = [];
|
||||
features = mkFeatures cc_1_0_3_features;
|
||||
};
|
||||
cc_1_0_3_features."rayon".self_parallel = hasFeature (cc_1_0_3_features."parallel" or {});
|
||||
rayon_0_0_0_features."default".from_cc_1_0_3__default = true;
|
||||
cfg_if_0_1_2 = cfg_if_0_1_2_ rec {};
|
||||
clap_2_28_0 = clap_2_28_0_ rec {
|
||||
dependencies = [ ansi_term_0_10_2 atty_0_2_3 bitflags_1_0_1 strsim_0_6_0 textwrap_0_9_0 unicode_width_0_1_4 vec_map_0_8_0 ]
|
||||
++ (if lib.lists.any (x: x == "ansi_term") features then [ansi_term_0_10_2] else []) ++ (if lib.lists.any (x: x == "atty") features then [atty_0_2_3] else []) ++ (if lib.lists.any (x: x == "strsim") features then [strsim_0_6_0] else []) ++ (if lib.lists.any (x: x == "vec_map") features then [vec_map_0_8_0] else []);
|
||||
features = mkFeatures clap_2_28_0_features;
|
||||
};
|
||||
clap_2_28_0_features."".self = true;
|
||||
clap_2_28_0_features."ansi_term".self_color = hasFeature (clap_2_28_0_features."color" or {});
|
||||
clap_2_28_0_features."atty".self_color = hasFeature (clap_2_28_0_features."color" or {});
|
||||
clap_2_28_0_features."suggestions".self_default = hasDefault clap_2_28_0_features;
|
||||
clap_2_28_0_features."color".self_default = hasDefault clap_2_28_0_features;
|
||||
clap_2_28_0_features."vec_map".self_default = hasDefault clap_2_28_0_features;
|
||||
clap_2_28_0_features."yaml".self_doc = hasFeature (clap_2_28_0_features."doc" or {});
|
||||
clap_2_28_0_features."clippy".self_lints = hasFeature (clap_2_28_0_features."lints" or {});
|
||||
clap_2_28_0_features."strsim".self_suggestions = hasFeature (clap_2_28_0_features."suggestions" or {});
|
||||
clap_2_28_0_features."term_size".self_wrap_help = hasFeature (clap_2_28_0_features."wrap_help" or {});
|
||||
clap_2_28_0_features."yaml-rust".self_yaml = hasFeature (clap_2_28_0_features."yaml" or {});
|
||||
ansi_term_0_10_2_features."default".from_clap_2_28_0__default = true;
|
||||
atty_0_2_3_features."default".from_clap_2_28_0__default = true;
|
||||
bitflags_1_0_1_features."default".from_clap_2_28_0__default = true;
|
||||
clippy_0_0_0_features."default".from_clap_2_28_0__default = true;
|
||||
strsim_0_6_0_features."default".from_clap_2_28_0__default = true;
|
||||
term_size_0_0_0_features."default".from_clap_2_28_0__default = true;
|
||||
textwrap_0_9_0_features."term_size".from_clap_2_28_0__wrap_help = hasFeature (clap_2_28_0_features."wrap_help" or {});
|
||||
textwrap_0_9_0_features."default".from_clap_2_28_0__default = true;
|
||||
unicode_width_0_1_4_features."default".from_clap_2_28_0__default = true;
|
||||
vec_map_0_8_0_features."default".from_clap_2_28_0__default = true;
|
||||
yaml_rust_0_0_0_features."default".from_clap_2_28_0__default = true;
|
||||
dbghelp_sys_0_2_0 = dbghelp_sys_0_2_0_ rec {
|
||||
dependencies = [ winapi_0_2_8 ];
|
||||
buildDependencies = [ winapi_build_0_1_1 ];
|
||||
};
|
||||
winapi_0_2_8_features."default".from_dbghelp_sys_0_2_0__default = true;
|
||||
dtoa_0_4_2 = dtoa_0_4_2_ rec {};
|
||||
either_1_4_0 = either_1_4_0_ rec {
|
||||
dependencies = [];
|
||||
features = mkFeatures either_1_4_0_features;
|
||||
};
|
||||
either_1_4_0_features."use_std".self_default = hasDefault either_1_4_0_features;
|
||||
serde_0_0_0_features."derive".from_either_1_4_0 = true;
|
||||
serde_0_0_0_features."default".from_either_1_4_0__default = true;
|
||||
env_logger_0_4_3 = env_logger_0_4_3_ rec {
|
||||
dependencies = [ log_0_3_8 regex_0_2_2 ]
|
||||
++ (if lib.lists.any (x: x == "regex") features then [regex_0_2_2] else []);
|
||||
features = mkFeatures env_logger_0_4_3_features;
|
||||
};
|
||||
env_logger_0_4_3_features."".self = true;
|
||||
env_logger_0_4_3_features."regex".self_default = hasDefault env_logger_0_4_3_features;
|
||||
log_0_3_8_features."default".from_env_logger_0_4_3__default = true;
|
||||
regex_0_2_2_features."default".from_env_logger_0_4_3__default = true;
|
||||
error_chain_0_11_0 = error_chain_0_11_0_ rec {
|
||||
dependencies = [ backtrace_0_3_4 ]
|
||||
++ (if lib.lists.any (x: x == "backtrace") features then [backtrace_0_3_4] else []);
|
||||
features = mkFeatures error_chain_0_11_0_features;
|
||||
};
|
||||
error_chain_0_11_0_features."".self = true;
|
||||
error_chain_0_11_0_features."backtrace".self_default = hasDefault error_chain_0_11_0_features;
|
||||
error_chain_0_11_0_features."example_generated".self_default = hasDefault error_chain_0_11_0_features;
|
||||
backtrace_0_3_4_features."default".from_error_chain_0_11_0__default = true;
|
||||
fuchsia_zircon_0_2_1 = fuchsia_zircon_0_2_1_ rec {
|
||||
dependencies = [ fuchsia_zircon_sys_0_2_0 ];
|
||||
};
|
||||
fuchsia_zircon_sys_0_2_0_features."default".from_fuchsia_zircon_0_2_1__default = true;
|
||||
fuchsia_zircon_sys_0_2_0 = fuchsia_zircon_sys_0_2_0_ rec {
|
||||
dependencies = [ bitflags_0_7_0 ];
|
||||
};
|
||||
bitflags_0_7_0_features."default".from_fuchsia_zircon_sys_0_2_0__default = true;
|
||||
itertools_0_7_3 = itertools_0_7_3_ rec {
|
||||
dependencies = [ either_1_4_0 ];
|
||||
features = mkFeatures itertools_0_7_3_features;
|
||||
};
|
||||
itertools_0_7_3_features."use_std".self_default = hasDefault itertools_0_7_3_features;
|
||||
either_1_4_0_features."default".from_itertools_0_7_3__default = false;
|
||||
itoa_0_3_4 = itoa_0_3_4_ rec {
|
||||
features = mkFeatures itoa_0_3_4_features;
|
||||
};
|
||||
itoa_0_3_4_features."".self = true;
|
||||
kernel32_sys_0_2_2 = kernel32_sys_0_2_2_ rec {
|
||||
dependencies = [ winapi_0_2_8 ];
|
||||
buildDependencies = [ winapi_build_0_1_1 ];
|
||||
};
|
||||
winapi_0_2_8_features."default".from_kernel32_sys_0_2_2__default = true;
|
||||
lazy_static_0_2_11 = lazy_static_0_2_11_ rec {
|
||||
dependencies = [];
|
||||
features = mkFeatures lazy_static_0_2_11_features;
|
||||
};
|
||||
lazy_static_0_2_11_features."compiletest_rs".self_compiletest = hasFeature (lazy_static_0_2_11_features."compiletest" or {});
|
||||
lazy_static_0_2_11_features."nightly".self_spin_no_std = hasFeature (lazy_static_0_2_11_features."spin_no_std" or {});
|
||||
lazy_static_0_2_11_features."spin".self_spin_no_std = hasFeature (lazy_static_0_2_11_features."spin_no_std" or {});
|
||||
compiletest_rs_0_0_0_features."default".from_lazy_static_0_2_11__default = true;
|
||||
spin_0_0_0_features."default".from_lazy_static_0_2_11__default = true;
|
||||
libc_0_2_33 = libc_0_2_33_ rec {
|
||||
features = mkFeatures libc_0_2_33_features;
|
||||
};
|
||||
libc_0_2_33_features."use_std".self_default = hasDefault libc_0_2_33_features;
|
||||
libsqlite3_sys_0_9_0 = libsqlite3_sys_0_9_0_ rec {
|
||||
dependencies = (if abi == "msvc" then [] else []);
|
||||
buildDependencies = [ pkg_config_0_3_9 ]
|
||||
++ (if lib.lists.any (x: x == "pkg-config") features then [pkg_config_0_3_9] else []);
|
||||
features = mkFeatures libsqlite3_sys_0_9_0_features;
|
||||
};
|
||||
libsqlite3_sys_0_9_0_features."bindgen".self_buildtime_bindgen = hasFeature (libsqlite3_sys_0_9_0_features."buildtime_bindgen" or {});
|
||||
libsqlite3_sys_0_9_0_features."pkg-config".self_buildtime_bindgen = hasFeature (libsqlite3_sys_0_9_0_features."buildtime_bindgen" or {});
|
||||
libsqlite3_sys_0_9_0_features."vcpkg".self_buildtime_bindgen = hasFeature (libsqlite3_sys_0_9_0_features."buildtime_bindgen" or {});
|
||||
libsqlite3_sys_0_9_0_features."cc".self_bundled = hasFeature (libsqlite3_sys_0_9_0_features."bundled" or {});
|
||||
libsqlite3_sys_0_9_0_features."min_sqlite_version_3_6_8".self_default = hasDefault libsqlite3_sys_0_9_0_features;
|
||||
libsqlite3_sys_0_9_0_features."pkg-config".self_min_sqlite_version_3_6_11 = hasFeature (libsqlite3_sys_0_9_0_features."min_sqlite_version_3_6_11" or {});
|
||||
libsqlite3_sys_0_9_0_features."vcpkg".self_min_sqlite_version_3_6_11 = hasFeature (libsqlite3_sys_0_9_0_features."min_sqlite_version_3_6_11" or {});
|
||||
libsqlite3_sys_0_9_0_features."pkg-config".self_min_sqlite_version_3_6_23 = hasFeature (libsqlite3_sys_0_9_0_features."min_sqlite_version_3_6_23" or {});
|
||||
libsqlite3_sys_0_9_0_features."vcpkg".self_min_sqlite_version_3_6_23 = hasFeature (libsqlite3_sys_0_9_0_features."min_sqlite_version_3_6_23" or {});
|
||||
libsqlite3_sys_0_9_0_features."pkg-config".self_min_sqlite_version_3_6_8 = hasFeature (libsqlite3_sys_0_9_0_features."min_sqlite_version_3_6_8" or {});
|
||||
libsqlite3_sys_0_9_0_features."vcpkg".self_min_sqlite_version_3_6_8 = hasFeature (libsqlite3_sys_0_9_0_features."min_sqlite_version_3_6_8" or {});
|
||||
libsqlite3_sys_0_9_0_features."pkg-config".self_min_sqlite_version_3_7_16 = hasFeature (libsqlite3_sys_0_9_0_features."min_sqlite_version_3_7_16" or {});
|
||||
libsqlite3_sys_0_9_0_features."vcpkg".self_min_sqlite_version_3_7_16 = hasFeature (libsqlite3_sys_0_9_0_features."min_sqlite_version_3_7_16" or {});
|
||||
libsqlite3_sys_0_9_0_features."pkg-config".self_min_sqlite_version_3_7_3 = hasFeature (libsqlite3_sys_0_9_0_features."min_sqlite_version_3_7_3" or {});
|
||||
libsqlite3_sys_0_9_0_features."vcpkg".self_min_sqlite_version_3_7_3 = hasFeature (libsqlite3_sys_0_9_0_features."min_sqlite_version_3_7_3" or {});
|
||||
libsqlite3_sys_0_9_0_features."pkg-config".self_min_sqlite_version_3_7_4 = hasFeature (libsqlite3_sys_0_9_0_features."min_sqlite_version_3_7_4" or {});
|
||||
libsqlite3_sys_0_9_0_features."vcpkg".self_min_sqlite_version_3_7_4 = hasFeature (libsqlite3_sys_0_9_0_features."min_sqlite_version_3_7_4" or {});
|
||||
linked_hash_map_0_4_2 = linked_hash_map_0_4_2_ rec {
|
||||
dependencies = [];
|
||||
features = mkFeatures linked_hash_map_0_4_2_features;
|
||||
};
|
||||
linked_hash_map_0_4_2_features."heapsize".self_heapsize_impl = hasFeature (linked_hash_map_0_4_2_features."heapsize_impl" or {});
|
||||
linked_hash_map_0_4_2_features."serde".self_serde_impl = hasFeature (linked_hash_map_0_4_2_features."serde_impl" or {});
|
||||
linked_hash_map_0_4_2_features."serde_test".self_serde_impl = hasFeature (linked_hash_map_0_4_2_features."serde_impl" or {});
|
||||
clippy_0_0_0_features."default".from_linked_hash_map_0_4_2__default = true;
|
||||
heapsize_0_0_0_features."default".from_linked_hash_map_0_4_2__default = true;
|
||||
serde_0_0_0_features."default".from_linked_hash_map_0_4_2__default = true;
|
||||
serde_test_0_0_0_features."default".from_linked_hash_map_0_4_2__default = true;
|
||||
log_0_3_8 = log_0_3_8_ rec {
|
||||
features = mkFeatures log_0_3_8_features;
|
||||
};
|
||||
log_0_3_8_features."use_std".self_default = hasDefault log_0_3_8_features;
|
||||
lru_cache_0_1_1 = lru_cache_0_1_1_ rec {
|
||||
dependencies = [ linked_hash_map_0_4_2 ];
|
||||
features = mkFeatures lru_cache_0_1_1_features;
|
||||
};
|
||||
lru_cache_0_1_1_features."heapsize".self_heapsize_impl = hasFeature (lru_cache_0_1_1_features."heapsize_impl" or {});
|
||||
heapsize_0_0_0_features."default".from_lru_cache_0_1_1__default = true;
|
||||
linked_hash_map_0_4_2_features."heapsize_impl".from_lru_cache_0_1_1__heapsize_impl = hasFeature (lru_cache_0_1_1_features."heapsize_impl" or {});
|
||||
linked_hash_map_0_4_2_features."default".from_lru_cache_0_1_1__default = true;
|
||||
memchr_1_0_2 = memchr_1_0_2_ rec {
|
||||
dependencies = [ libc_0_2_33 ]
|
||||
++ (if lib.lists.any (x: x == "libc") features then [libc_0_2_33] else []);
|
||||
features = mkFeatures memchr_1_0_2_features;
|
||||
};
|
||||
memchr_1_0_2_features."".self = true;
|
||||
memchr_1_0_2_features."use_std".self_default = hasDefault memchr_1_0_2_features;
|
||||
memchr_1_0_2_features."libc".self_default = hasDefault memchr_1_0_2_features;
|
||||
memchr_1_0_2_features."libc".self_use_std = hasFeature (memchr_1_0_2_features."use_std" or {});
|
||||
libc_0_2_33_features."use_std".from_memchr_1_0_2__use_std = hasFeature (memchr_1_0_2_features."use_std" or {});
|
||||
libc_0_2_33_features."default".from_memchr_1_0_2__default = false;
|
||||
nom_3_2_1 = nom_3_2_1_ rec {
|
||||
dependencies = [ memchr_1_0_2 ];
|
||||
features = mkFeatures nom_3_2_1_features;
|
||||
};
|
||||
nom_3_2_1_features."std".self_default = hasDefault nom_3_2_1_features;
|
||||
nom_3_2_1_features."stream".self_default = hasDefault nom_3_2_1_features;
|
||||
nom_3_2_1_features."compiler_error".self_nightly = hasFeature (nom_3_2_1_features."nightly" or {});
|
||||
nom_3_2_1_features."regex".self_regexp = hasFeature (nom_3_2_1_features."regexp" or {});
|
||||
nom_3_2_1_features."regexp".self_regexp_macros = hasFeature (nom_3_2_1_features."regexp_macros" or {});
|
||||
nom_3_2_1_features."lazy_static".self_regexp_macros = hasFeature (nom_3_2_1_features."regexp_macros" or {});
|
||||
compiler_error_0_0_0_features."default".from_nom_3_2_1__default = true;
|
||||
lazy_static_0_0_0_features."default".from_nom_3_2_1__default = true;
|
||||
memchr_1_0_2_features."use_std".from_nom_3_2_1__std = hasFeature (nom_3_2_1_features."std" or {});
|
||||
memchr_1_0_2_features."default".from_nom_3_2_1__default = false;
|
||||
regex_0_0_0_features."default".from_nom_3_2_1__default = true;
|
||||
num_traits_0_1_40 = num_traits_0_1_40_ rec {};
|
||||
pkg_config_0_3_9 = pkg_config_0_3_9_ rec {};
|
||||
quote_0_3_15 = quote_0_3_15_ rec {};
|
||||
rand_0_3_18 = rand_0_3_18_ rec {
|
||||
dependencies = [ libc_0_2_33 ]
|
||||
++ (if kernel == "fuchsia" then [ fuchsia_zircon_0_2_1 ] else []);
|
||||
features = mkFeatures rand_0_3_18_features;
|
||||
};
|
||||
rand_0_3_18_features."i128_support".self_nightly = hasFeature (rand_0_3_18_features."nightly" or {});
|
||||
libc_0_2_33_features."default".from_rand_0_3_18__default = true;
|
||||
fuchsia_zircon_0_2_1_features."default".from_rand_0_3_18__default = true;
|
||||
redox_syscall_0_1_32 = redox_syscall_0_1_32_ rec {};
|
||||
redox_termios_0_1_1 = redox_termios_0_1_1_ rec {
|
||||
dependencies = [ redox_syscall_0_1_32 ];
|
||||
};
|
||||
redox_syscall_0_1_32_features."default".from_redox_termios_0_1_1__default = true;
|
||||
regex_0_2_2 = regex_0_2_2_ rec {
|
||||
dependencies = [ aho_corasick_0_6_3 memchr_1_0_2 regex_syntax_0_4_1 thread_local_0_3_4 utf8_ranges_1_0_0 ];
|
||||
features = mkFeatures regex_0_2_2_features;
|
||||
};
|
||||
regex_0_2_2_features."simd".self_simd-accel = hasFeature (regex_0_2_2_features."simd-accel" or {});
|
||||
aho_corasick_0_6_3_features."default".from_regex_0_2_2__default = true;
|
||||
memchr_1_0_2_features."default".from_regex_0_2_2__default = true;
|
||||
regex_syntax_0_4_1_features."default".from_regex_0_2_2__default = true;
|
||||
simd_0_0_0_features."default".from_regex_0_2_2__default = true;
|
||||
thread_local_0_3_4_features."default".from_regex_0_2_2__default = true;
|
||||
utf8_ranges_1_0_0_features."default".from_regex_0_2_2__default = true;
|
||||
regex_syntax_0_4_1 = regex_syntax_0_4_1_ rec {};
|
||||
rusqlite_0_13_0 = rusqlite_0_13_0_ rec {
|
||||
dependencies = [ bitflags_1_0_1 libsqlite3_sys_0_9_0 lru_cache_0_1_1 time_0_1_38 ];
|
||||
features = mkFeatures rusqlite_0_13_0_features;
|
||||
};
|
||||
rusqlite_0_13_0_features."".self = true;
|
||||
bitflags_1_0_1_features."default".from_rusqlite_0_13_0__default = true;
|
||||
chrono_0_0_0_features."default".from_rusqlite_0_13_0__default = true;
|
||||
libsqlite3_sys_0_9_0_features."min_sqlite_version_3_6_11".from_rusqlite_0_13_0__backup = hasFeature (rusqlite_0_13_0_features."backup" or {});
|
||||
libsqlite3_sys_0_9_0_features."min_sqlite_version_3_7_4".from_rusqlite_0_13_0__blob = hasFeature (rusqlite_0_13_0_features."blob" or {});
|
||||
libsqlite3_sys_0_9_0_features."buildtime_bindgen".from_rusqlite_0_13_0__buildtime_bindgen = hasFeature (rusqlite_0_13_0_features."buildtime_bindgen" or {});
|
||||
libsqlite3_sys_0_9_0_features."bundled".from_rusqlite_0_13_0__bundled = hasFeature (rusqlite_0_13_0_features."bundled" or {});
|
||||
libsqlite3_sys_0_9_0_features."min_sqlite_version_3_7_3".from_rusqlite_0_13_0__functions = hasFeature (rusqlite_0_13_0_features."functions" or {});
|
||||
libsqlite3_sys_0_9_0_features."sqlcipher".from_rusqlite_0_13_0__sqlcipher = hasFeature (rusqlite_0_13_0_features."sqlcipher" or {});
|
||||
libsqlite3_sys_0_9_0_features."min_sqlite_version_3_6_23".from_rusqlite_0_13_0__trace = hasFeature (rusqlite_0_13_0_features."trace" or {});
|
||||
libsqlite3_sys_0_9_0_features."default".from_rusqlite_0_13_0__default = true;
|
||||
lru_cache_0_1_1_features."default".from_rusqlite_0_13_0__default = true;
|
||||
serde_json_0_0_0_features."default".from_rusqlite_0_13_0__default = true;
|
||||
time_0_1_38_features."default".from_rusqlite_0_13_0__default = true;
|
||||
rustc_demangle_0_1_5 = rustc_demangle_0_1_5_ rec {};
|
||||
serde_1_0_21 = serde_1_0_21_ rec {
|
||||
dependencies = [];
|
||||
features = mkFeatures serde_1_0_21_features;
|
||||
};
|
||||
serde_1_0_21_features."unstable".self_alloc = hasFeature (serde_1_0_21_features."alloc" or {});
|
||||
serde_1_0_21_features."std".self_default = hasDefault serde_1_0_21_features;
|
||||
serde_1_0_21_features."serde_derive".self_derive = hasFeature (serde_1_0_21_features."derive" or {});
|
||||
serde_1_0_21_features."serde_derive".self_playground = hasFeature (serde_1_0_21_features."playground" or {});
|
||||
serde_derive_0_0_0_features."default".from_serde_1_0_21__default = true;
|
||||
serde_derive_1_0_21 = serde_derive_1_0_21_ rec {
|
||||
dependencies = [ quote_0_3_15 serde_derive_internals_0_17_0 syn_0_11_11 ];
|
||||
};
|
||||
quote_0_3_15_features."default".from_serde_derive_1_0_21__default = true;
|
||||
serde_derive_internals_0_17_0_features."default".from_serde_derive_1_0_21__default = false;
|
||||
syn_0_11_11_features."visit".from_serde_derive_1_0_21 = true;
|
||||
syn_0_11_11_features."default".from_serde_derive_1_0_21__default = true;
|
||||
serde_derive_internals_0_17_0 = serde_derive_internals_0_17_0_ rec {
|
||||
dependencies = [ syn_0_11_11 synom_0_11_3 ];
|
||||
};
|
||||
syn_0_11_11_features."parsing".from_serde_derive_internals_0_17_0 = true;
|
||||
syn_0_11_11_features."default".from_serde_derive_internals_0_17_0__default = false;
|
||||
synom_0_11_3_features."default".from_serde_derive_internals_0_17_0__default = true;
|
||||
serde_json_1_0_6 = serde_json_1_0_6_ rec {
|
||||
dependencies = [ dtoa_0_4_2 itoa_0_3_4 num_traits_0_1_40 serde_1_0_21 ];
|
||||
features = mkFeatures serde_json_1_0_6_features;
|
||||
};
|
||||
serde_json_1_0_6_features."linked-hash-map".self_preserve_order = hasFeature (serde_json_1_0_6_features."preserve_order" or {});
|
||||
dtoa_0_4_2_features."default".from_serde_json_1_0_6__default = true;
|
||||
itoa_0_3_4_features."default".from_serde_json_1_0_6__default = true;
|
||||
linked_hash_map_0_0_0_features."default".from_serde_json_1_0_6__default = true;
|
||||
num_traits_0_1_40_features."default".from_serde_json_1_0_6__default = true;
|
||||
serde_1_0_21_features."default".from_serde_json_1_0_6__default = true;
|
||||
strsim_0_6_0 = strsim_0_6_0_ rec {};
|
||||
syn_0_11_11 = syn_0_11_11_ rec {
|
||||
dependencies = [ quote_0_3_15 synom_0_11_3 unicode_xid_0_0_4 ]
|
||||
++ (if lib.lists.any (x: x == "quote") features then [quote_0_3_15] else []) ++ (if lib.lists.any (x: x == "synom") features then [synom_0_11_3] else []) ++ (if lib.lists.any (x: x == "unicode-xid") features then [unicode_xid_0_0_4] else []);
|
||||
features = mkFeatures syn_0_11_11_features;
|
||||
};
|
||||
syn_0_11_11_features."".self = true;
|
||||
syn_0_11_11_features."parsing".self_default = hasDefault syn_0_11_11_features;
|
||||
syn_0_11_11_features."printing".self_default = hasDefault syn_0_11_11_features;
|
||||
syn_0_11_11_features."unicode-xid".self_parsing = hasFeature (syn_0_11_11_features."parsing" or {});
|
||||
syn_0_11_11_features."synom".self_parsing = hasFeature (syn_0_11_11_features."parsing" or {});
|
||||
syn_0_11_11_features."quote".self_printing = hasFeature (syn_0_11_11_features."printing" or {});
|
||||
quote_0_3_15_features."default".from_syn_0_11_11__default = true;
|
||||
synom_0_11_3_features."default".from_syn_0_11_11__default = true;
|
||||
unicode_xid_0_0_4_features."default".from_syn_0_11_11__default = true;
|
||||
synom_0_11_3 = synom_0_11_3_ rec {
|
||||
dependencies = [ unicode_xid_0_0_4 ];
|
||||
};
|
||||
unicode_xid_0_0_4_features."default".from_synom_0_11_3__default = true;
|
||||
tempdir_0_3_5 = tempdir_0_3_5_ rec {
|
||||
dependencies = [ rand_0_3_18 ];
|
||||
};
|
||||
rand_0_3_18_features."default".from_tempdir_0_3_5__default = true;
|
||||
termion_1_5_1 = termion_1_5_1_ rec {
|
||||
dependencies = (if !(kernel == "redox") then [ libc_0_2_33 ] else [])
|
||||
++ (if kernel == "redox" then [ redox_syscall_0_1_32 redox_termios_0_1_1 ] else []);
|
||||
};
|
||||
libc_0_2_33_features."default".from_termion_1_5_1__default = true;
|
||||
redox_syscall_0_1_32_features."default".from_termion_1_5_1__default = true;
|
||||
redox_termios_0_1_1_features."default".from_termion_1_5_1__default = true;
|
||||
textwrap_0_9_0 = textwrap_0_9_0_ rec {
|
||||
dependencies = [ unicode_width_0_1_4 ];
|
||||
};
|
||||
hyphenation_0_0_0_features."default".from_textwrap_0_9_0__default = true;
|
||||
term_size_0_0_0_features."default".from_textwrap_0_9_0__default = true;
|
||||
unicode_width_0_1_4_features."default".from_textwrap_0_9_0__default = true;
|
||||
thread_local_0_3_4 = thread_local_0_3_4_ rec {
|
||||
dependencies = [ lazy_static_0_2_11 unreachable_1_0_0 ];
|
||||
};
|
||||
lazy_static_0_2_11_features."default".from_thread_local_0_3_4__default = true;
|
||||
unreachable_1_0_0_features."default".from_thread_local_0_3_4__default = true;
|
||||
time_0_1_38 = time_0_1_38_ rec {
|
||||
dependencies = [ libc_0_2_33 ]
|
||||
++ (if kernel == "redox" then [ redox_syscall_0_1_32 ] else [])
|
||||
++ (if kernel == "windows" then [ kernel32_sys_0_2_2 winapi_0_2_8 ] else []);
|
||||
};
|
||||
libc_0_2_33_features."default".from_time_0_1_38__default = true;
|
||||
rustc_serialize_0_0_0_features."default".from_time_0_1_38__default = true;
|
||||
redox_syscall_0_1_32_features."default".from_time_0_1_38__default = true;
|
||||
kernel32_sys_0_2_2_features."default".from_time_0_1_38__default = true;
|
||||
winapi_0_2_8_features."default".from_time_0_1_38__default = true;
|
||||
toml_0_4_5 = toml_0_4_5_ rec {
|
||||
dependencies = [ serde_1_0_21 ];
|
||||
};
|
||||
serde_1_0_21_features."default".from_toml_0_4_5__default = true;
|
||||
unicode_width_0_1_4 = unicode_width_0_1_4_ rec {
|
||||
features = mkFeatures unicode_width_0_1_4_features;
|
||||
};
|
||||
unicode_width_0_1_4_features."".self = true;
|
||||
unicode_xid_0_0_4 = unicode_xid_0_0_4_ rec {
|
||||
features = mkFeatures unicode_xid_0_0_4_features;
|
||||
};
|
||||
unicode_xid_0_0_4_features."".self = true;
|
||||
unreachable_1_0_0 = unreachable_1_0_0_ rec {
|
||||
dependencies = [ void_1_0_2 ];
|
||||
};
|
||||
void_1_0_2_features."default".from_unreachable_1_0_0__default = false;
|
||||
utf8_ranges_1_0_0 = utf8_ranges_1_0_0_ rec {};
|
||||
vcpkg_0_2_2 = vcpkg_0_2_2_ rec {};
|
||||
vec_map_0_8_0 = vec_map_0_8_0_ rec {
|
||||
dependencies = [];
|
||||
features = mkFeatures vec_map_0_8_0_features;
|
||||
};
|
||||
vec_map_0_8_0_features."serde".self_eders = hasFeature (vec_map_0_8_0_features."eders" or {});
|
||||
vec_map_0_8_0_features."serde_derive".self_eders = hasFeature (vec_map_0_8_0_features."eders" or {});
|
||||
serde_0_0_0_features."default".from_vec_map_0_8_0__default = true;
|
||||
serde_derive_0_0_0_features."default".from_vec_map_0_8_0__default = true;
|
||||
void_1_0_2 = void_1_0_2_ rec {
|
||||
features = mkFeatures void_1_0_2_features;
|
||||
};
|
||||
void_1_0_2_features."std".self_default = hasDefault void_1_0_2_features;
|
||||
winapi_0_2_8 = winapi_0_2_8_ rec {};
|
||||
winapi_build_0_1_1 = winapi_build_0_1_1_ rec {};
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
{ pkgconfig, sqlite, openssl, ... }:
|
||||
|
||||
{
|
||||
libsqlite3-sys = attrs: {
|
||||
buildInputs = [ pkgconfig sqlite ];
|
||||
};
|
||||
openssl-sys = attrs: {
|
||||
buildInputs = [ pkgconfig openssl ];
|
||||
};
|
||||
}
|
|
@ -0,0 +1,35 @@
|
|||
{ lib, fetchurl, unzip }:
|
||||
|
||||
{ crateName
|
||||
, version
|
||||
, sha256
|
||||
, ... } @ args:
|
||||
|
||||
lib.overrideDerivation (fetchurl ({
|
||||
|
||||
name = "${crateName}-${version}.tar.gz";
|
||||
url = "https://crates.io/api/v1/crates/${crateName}/${version}/download";
|
||||
recursiveHash = true;
|
||||
|
||||
downloadToTemp = true;
|
||||
|
||||
postFetch =
|
||||
''
|
||||
export PATH=${unzip}/bin:$PATH
|
||||
|
||||
unpackDir="$TMPDIR/unpack"
|
||||
mkdir "$unpackDir"
|
||||
cd "$unpackDir"
|
||||
|
||||
renamed="$TMPDIR/${crateName}-${version}.tar.gz"
|
||||
mv "$downloadedFile" "$renamed"
|
||||
unpackFile "$renamed"
|
||||
fn=$(cd "$unpackDir" && echo *)
|
||||
if [ -f "$unpackDir/$fn" ]; then
|
||||
mkdir $out
|
||||
fi
|
||||
mv "$unpackDir/$fn" "$out"
|
||||
'';
|
||||
} // removeAttrs args [ "crateName" "version" ]))
|
||||
# Hackety-hack: we actually need unzip hooks, too
|
||||
(x: {nativeBuildInputs = x.nativeBuildInputs++ [unzip];})
|
|
@ -60,21 +60,6 @@ rec {
|
|||
''; # */
|
||||
|
||||
|
||||
createDeviceNodes = dev:
|
||||
''
|
||||
mknod -m 666 ${dev}/null c 1 3
|
||||
mknod -m 666 ${dev}/zero c 1 5
|
||||
mknod -m 666 ${dev}/full c 1 7
|
||||
mknod -m 666 ${dev}/random c 1 8
|
||||
mknod -m 666 ${dev}/urandom c 1 9
|
||||
mknod -m 666 ${dev}/tty c 5 0
|
||||
mknod -m 666 ${dev}/ttyS0 c 4 64
|
||||
mknod ${dev}/rtc c 254 0
|
||||
. /sys/class/block/${hd}/uevent
|
||||
mknod ${dev}/${hd} b $MAJOR $MINOR
|
||||
'';
|
||||
|
||||
|
||||
stage1Init = writeScript "vm-run-stage1" ''
|
||||
#! ${initrdUtils}/bin/ash -e
|
||||
|
||||
|
@ -109,8 +94,7 @@ rec {
|
|||
insmod $i
|
||||
done
|
||||
|
||||
mount -t tmpfs none /dev
|
||||
${createDeviceNodes "/dev"}
|
||||
mount -t devtmpfs devtmpfs /dev
|
||||
|
||||
ifconfig lo up
|
||||
|
||||
|
@ -302,7 +286,6 @@ rec {
|
|||
touch /mnt/.debug
|
||||
|
||||
mkdir /mnt/proc /mnt/dev /mnt/sys
|
||||
${createDeviceNodes "/mnt/dev"}
|
||||
'';
|
||||
|
||||
|
||||
|
@ -353,7 +336,6 @@ rec {
|
|||
${kmod}/bin/modprobe iso9660
|
||||
${kmod}/bin/modprobe ufs
|
||||
${kmod}/bin/modprobe cramfs
|
||||
mknod /dev/loop0 b 7 0
|
||||
|
||||
mkdir -p $out
|
||||
mkdir -p tmp
|
||||
|
@ -377,8 +359,6 @@ rec {
|
|||
${kmod}/bin/modprobe mtdblock
|
||||
${kmod}/bin/modprobe jffs2
|
||||
${kmod}/bin/modprobe zlib
|
||||
mknod /dev/mtd0 c 90 0
|
||||
mknod /dev/mtdblock0 b 31 0
|
||||
|
||||
mkdir -p $out
|
||||
mkdir -p tmp
|
||||
|
@ -1980,22 +1960,22 @@ rec {
|
|||
};
|
||||
|
||||
debian8i386 = {
|
||||
name = "debian-8.9-jessie-i386";
|
||||
fullName = "Debian 8.9 Jessie (i386)";
|
||||
name = "debian-8.10-jessie-i386";
|
||||
fullName = "Debian 8.10 Jessie (i386)";
|
||||
packagesList = fetchurl {
|
||||
url = mirror://debian/dists/jessie/main/binary-i386/Packages.xz;
|
||||
sha256 = "3c78bdf3b693f2f37737c52d6a7718b3a545956f2a853da79f04a2d15541e811";
|
||||
sha256 = "b3aa33bfe0256f72b7aad07b6c714b790d9a20d86c1a448a6f36b35652a82ff0";
|
||||
};
|
||||
urlPrefix = mirror://debian;
|
||||
packages = commonDebianPackages;
|
||||
};
|
||||
|
||||
debian8x86_64 = {
|
||||
name = "debian-8.9-jessie-amd64";
|
||||
fullName = "Debian 8.9 Jessie (amd64)";
|
||||
name = "debian-8.10-jessie-amd64";
|
||||
fullName = "Debian 8.10 Jessie (amd64)";
|
||||
packagesList = fetchurl {
|
||||
url = mirror://debian/dists/jessie/main/binary-amd64/Packages.xz;
|
||||
sha256 = "0605589ae7a63c690f37bd2567dc12e02a2eb279d9dc200a7310072ad3593e53";
|
||||
sha256 = "689e77cdf5334a3fffa5ca504e8131ee9ec88a7616f12c9ea5a3d5ac3100a710";
|
||||
};
|
||||
urlPrefix = mirror://debian;
|
||||
packages = commonDebianPackages;
|
||||
|
|
|
@ -4,13 +4,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "zeal-${version}";
|
||||
version = "0.4.0";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zealdocs";
|
||||
repo = "zeal";
|
||||
rev = "v${version}";
|
||||
sha256 = "1mfcw843g4slr79bvidb5s88m7a3swr9by6srdn233b88j8mqwzl";
|
||||
sha256 = "14gm9n2zmqgig4nz5i3089dhn0a7c175g1szr0zg9yzr9j2hk0mr";
|
||||
};
|
||||
|
||||
# while ads can be disabled from the user settings, by default they are not so
|
||||
|
@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
homepage = http://zealdocs.org/;
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ skeidel ];
|
||||
maintainers = with maintainers; [ skeidel peterhoeg ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,13 +1,16 @@
|
|||
diff --git a/src/app/resources/browser/welcome.html b/src/app/resources/browser/welcome.html
|
||||
index afe9e2a..490a0fb 100644
|
||||
index 22e6278..ec09771 100644
|
||||
--- a/src/app/resources/browser/welcome.html
|
||||
+++ b/src/app/resources/browser/welcome.html
|
||||
@@ -34,9 +34,6 @@
|
||||
@@ -35,12 +35,6 @@
|
||||
<div class="hero-foot">
|
||||
<div class="container">
|
||||
<div class="content has-text-centered">
|
||||
- <div id="carbon" class="box">
|
||||
- <script async type="text/javascript" src="https://cdn.carbonads.com/carbon.js?zoneid=1673&serve=C6AILKT&placement=zealdocsforwindowsorg" id="_carbonads_js"></script>
|
||||
- <div id="carboncontainer">
|
||||
- <div id="carbon" class="box">
|
||||
- <script async type="text/javascript" src="https://cdn.carbonads.com/carbon.js?zoneid=1673&serve=C6AILKT&placement=zealdocsforwindowsorg"
|
||||
- onerror="document.getElementById('carboncontainer').style.display = 'none';" id="_carbonads_js"></script>
|
||||
- </div>
|
||||
- </div>
|
||||
<p>
|
||||
<a class="icon" href="https://github.com/zealdocs/zeal">
|
||||
|
|
|
@ -9,6 +9,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
doCheck = true;
|
||||
|
||||
# https://bugs.launchpad.net/ubuntu/+source/totem/+bug/1712021
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=784236
|
||||
# https://github.com/mesonbuild/meson/issues/1994
|
||||
enableParallelBuilding = false;
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
, withContrib ? true }:
|
||||
|
||||
let
|
||||
versionPkg = "0.3.0" ;
|
||||
versionPkg = "0.3.7" ;
|
||||
|
||||
contrib = fetchurl {
|
||||
url = "mirror://sourceforge/ats2-lang/ATS2-Postiats-contrib-${versionPkg}.tgz" ;
|
||||
sha256 = "1s4yscisn9gsr692jmh4y5mz03012pv84cm7l5n51v83wc08fks0" ;
|
||||
sha256 = "1w59ir9ij5bvvnxj6fb1rvzycfqa57i31wmpwawxbsb10bqwzyr6";
|
||||
};
|
||||
|
||||
postInstallContrib = stdenv.lib.optionalString withContrib
|
||||
|
@ -31,11 +31,9 @@ stdenv.mkDerivation rec {
|
|||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/ats2-lang/ATS2-Postiats-${version}.tgz";
|
||||
sha256 = "1knf03r8a5sis7n8rw54flf1lxfbr3prywxb1czcdp6hsbcd1v1d";
|
||||
sha256 = "19nxyi39fn42sp38kl14a6pvbxq9wr8y405wx0zz7mqb77r0m0h5";
|
||||
};
|
||||
|
||||
patches = [ ./install-postiats-contrib.patch ];
|
||||
|
||||
buildInputs = [ gmp ];
|
||||
|
||||
setupHook = with stdenv.lib;
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
Install the parts of the contrib that have been moved to Postiats.
|
||||
diff -Naur ATS2-Postiats-0.3.0-upstream/Makefile_dist ATS2-Postiats-0.3.0/Makefile_dist
|
||||
--- ATS2-Postiats-0.3.0-upstream/Makefile_dist 2017-01-20 10:23:54.000000000 -0400
|
||||
+++ ATS2-Postiats-0.3.0/Makefile_dist 2017-01-21 13:14:27.614723335 -0400
|
||||
@@ -124,12 +124,12 @@
|
||||
cd "$(abs_top_srcdir)" && \
|
||||
$(MKDIR_P) $(PATSLIBHOME2)/bin && \
|
||||
if [ ! -d $(bindir2) ] ; then $(MKDIR_P) $(bindir2) ; fi && \
|
||||
- for x in share ccomp prelude libc libats ; do \
|
||||
+ for x in share ccomp prelude libc libats contrib atscntrb ; do \
|
||||
find "$$x" -type d -exec $(MKDIR_P) $(PATSLIBHOME2)/\{} \; -print; \
|
||||
done
|
||||
|
||||
install_files_0: install_dirs ; \
|
||||
- for x in share ccomp/runtime prelude libc libats ; do \
|
||||
+ for x in share ccomp/runtime prelude libc libats contrib atscntrb ; do \
|
||||
cd "$(abs_top_srcdir)" && \
|
||||
$(INSTALL) -d $(PATSLIBHOME2)/"$$x" && \
|
||||
find "$$x" -type l -exec cp -d \{} $(PATSLIBHOME2)/\{} \; -print && \
|
|
@ -8,10 +8,10 @@ stdenv, fetchurl
|
|||
let
|
||||
s =
|
||||
rec {
|
||||
version = "1.6";
|
||||
versionSuffix = ".0-0";
|
||||
version = "1.8.0";
|
||||
versionSuffix = "";
|
||||
url = "mirror://sourceforge/lazarus/Lazarus%20Zip%20_%20GZip/Lazarus%20${version}/lazarus-${version}${versionSuffix}.tar.gz";
|
||||
sha256 = "1a1w9yibi0rsr51bl7csnq6mr59x0934850kiabs80nr3sz05knb";
|
||||
sha256 = "0i58ngrr1vjyazirfmz0cgikglc02z1m0gcrsfw9awpi3ax8h21j";
|
||||
name = "lazarus-${version}";
|
||||
};
|
||||
buildInputs = [
|
||||
|
|
|
@ -4,4 +4,5 @@ callPackage ./generic-cmake.nix (rec {
|
|||
inherit Foundation libobjc;
|
||||
version = "5.0.1.1";
|
||||
sha256 = "064pgsmanpybpbhpam9jv9n8aicx6mlyb7a91yzh3kcksmqsxmj8";
|
||||
enableParallelBuilding = false; # #32386, https://hydra.nixos.org/build/65820147
|
||||
})
|
||||
|
|
|
@ -2,12 +2,6 @@
|
|||
|
||||
let param =
|
||||
{
|
||||
"8.4" = {
|
||||
version = "20160529";
|
||||
rev = "a9e89f1d4246a787bf1d8873072077a319635c3e";
|
||||
sha256 = "14ng71p890q12xvsj00si2a3fjcbsap2gy0r8sxpw4zndnlq74wa";
|
||||
};
|
||||
|
||||
"8.5" = {
|
||||
version = "20170512";
|
||||
rev = "31eb050ae5ce57ab402db9726fb7cd945a0b4d03";
|
||||
|
|
|
@ -1,39 +0,0 @@
|
|||
{stdenv, fetchurl, coq}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
name = "coq-bedrock-${coq.coq-version}-${version}";
|
||||
version = "20140722";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://plv.csail.mit.edu/bedrock/bedrock-${version}.tgz";
|
||||
sha256 = "0aaa98q42rsy9hpsxji21bqznizfvf6fplsw6jq42h06j0049k80";
|
||||
};
|
||||
|
||||
buildInputs = [ coq.ocaml coq.camlp5 ];
|
||||
propagatedBuildInputs = [ coq ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildPhase = ''
|
||||
make -j$NIX_BUILD_CORES -C src/reification
|
||||
make -j$NIX_BUILD_CORES -C src
|
||||
make -j$NIX_BUILD_CORES -C src native
|
||||
# make -j$NIX_BUILD_CORES -C platform
|
||||
# make -j$NIX_BUILD_CORES -C platform -f Makefile.cito
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
COQLIB=$out/lib/coq/${coq.coq-version}/
|
||||
mkdir -p $COQLIB/user-contrib/Bedrock
|
||||
cp -pR src/* $COQLIB/user-contrib/Bedrock
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://plv.csail.mit.edu/bedrock/;
|
||||
description = "A library that turns Coq into a tool much like classical verification systems";
|
||||
maintainers = with maintainers; [ jwiegley ];
|
||||
platforms = coq.meta.platforms;
|
||||
};
|
||||
|
||||
}
|
|
@ -1,163 +0,0 @@
|
|||
{
|
||||
AACTactics = "0v18kf7xjys4g3z8m2sfiyipyn6mz75wxl2zgqk7nv1jr8i03min";
|
||||
ABP = "06cn70lbdivn1hxnlsqpiibq9nlwl6dggcn967q6n3nph37m4pdp";
|
||||
AILS = "1g0hc27kizrwm6x35j3w721cllfl4rvhiqifn3ljy868mwxwsiva";
|
||||
AMM11262 = "15rxr5bzyswxfznml4vij3pflqm3v2bl1xzg9m1p5gmd0385zh6l";
|
||||
ATBR = "1xfhc70m9qm51gwi7cls8znx37y5cp1m0wak1h0r51g1d2lxr7a6";
|
||||
Additions = "0bhl1wqbqigq0m6zj1yhdm5j0rsn75xy510kz9qy4dv5277wc7ab";
|
||||
Algebra = "061szlbg5zh5h0ksgmw34hqrvqy6794p3r1ijg0xi8mqa2wpbjd8";
|
||||
Angles = "1grqx88mibz4lg7k9ba89vpg4kwrm3s87wy0ls39i3d3wgx18n97";
|
||||
AreaMethod = "07d86p5xbnhbrily18hda0hymf3zx8yhw905plmrqyfbcc6x5531";
|
||||
Automata = "0g75gjdj79ysiq1pwqk658jxs2z1l8pk702iz69008vkjzbzkhvm";
|
||||
AxiomaticABP = "19x16dgsqyw2pflza8cgv29585a6yy3r8pz4z8ns3r7qhpp1449b";
|
||||
BDDs = "0s5a67w9v1lklph8dm4d9bkd6f9qzfb377gvisr3hslacn9ya8zy";
|
||||
Bertrand = "05i6xw9gi5ad78rsw5pfhiqllw9x4q4phfi4ddzlxpsgshiw7d0k";
|
||||
Buchberger = "1v7zi62ar4inncbcphalsyaggx8im02j81b0fnpvx2x3kyv2pr94";
|
||||
CCS = "1na7902k05z19a727wa7rz0dbf1fhcl53r4zxvcgvg5dasvwfc97";
|
||||
CFGV = "13gk597r9n2wcgcbhribsqrp9wb8mmr3qd4zbv2ig8469kng0j4m";
|
||||
CTLTCTL = "0il1hhizvd2zvh2bhjaa2f43q1qz5sjfdin00yx5l1a8867wjs05";
|
||||
CanonBDDs = "1l9yqj0dfqkq49acsy17cvz4rjj86wjbhsdbr4qw2qvn4shllc23";
|
||||
Cantor = "1ys81ivigsbsg5cfx9jvm0qprdwc3jm69xm3whq5v9b6skn958yp";
|
||||
CatsInZFC = "06rkhns5gz397mafxina52h9z35r0n5bpryk5yfja0kfiyjvp4cr";
|
||||
Checker = "0hvfmpy3w4jj4zi3bm9q2yy4361q0lg0znqa22n5l7hzvi28q796";
|
||||
Chinese = "191c1bcslxrjxcxvpcz0mzklrl1cwh0lzkd2nq5m0ch3vxar6rq4";
|
||||
Circuits = "1a091g5vvmg579mmbfbvhj0scv7zw4n5brmj8dmiwfayfscdh5vg";
|
||||
ClassicalRealizability = "1zgivy679rl3ay9mf5ahs0lzrwfg19pcmz5nqm9hq0dpfn9avd6a";
|
||||
CoLoR = "05x1drvvhrspj2wzh8v1abblmb9fxy0yx6gg9y4nldkc24widjr7";
|
||||
CoRN = "1wv8y67bm2072bd6i3gbvy4sc665sci5kzd1zwv9n2ffxzhy0l5j";
|
||||
Coalgebras = "1wzwadfii9mm11bifjbg6f23qbab1ix3valysgq2b4myxlnpwdfz";
|
||||
CoinductiveExamples = "1iw6jsxvshsmn52xac3dspkw8f95214f0dcx0y6gi13ln02h8njy";
|
||||
CoinductiveReals = "149nsygwlb80s2805qgn85a6mcp7rxifbicbr84l3nyzilfyr6lk";
|
||||
ConCaT = "0537r0lamfz657llarxjl030qw29dnya7rb73kx0bdbyphxszr71";
|
||||
ConstructiveGeometry = "0cfz64yciyma6jrskc37md4mnv2vbx9hw7y69vyxzy7xdax55j64";
|
||||
Containers = "07pjbnzhh418ypppvfkls2x0ycslgl274a913xwi3rb1wrg6q84g";
|
||||
Continuations = "0l35xl9kvmq8l9gx3rmcx11p22inw76m1s18y0dnhc6qnhhkq1qg";
|
||||
CoqInCoq = "0d5m71xq66rfaa6xr51bsv9hykzfv4dwpclxpnqc7a7ss1q9ccqz";
|
||||
Coqoban = "1xp6wblg31asbqbkvbha94lbzn6xnhl0v5y0f3qh4nbmv6hslc54";
|
||||
Counting = "150la62c1j4yg8myr7nrp1qwp4z15rfg788j9vraz5q6f2n8c8ph";
|
||||
CoursDeCoq = "1qgc03ngzyd138s2cmcwrwrmyq0lf3z3vwhiaq5p371al34fk0d9";
|
||||
#Dblib = "00704xi5348fbw9bc0cy5bqx5w4a7aqwpcwdd3740i15ihk60mrl";
|
||||
Demos = "0j5ndysvhsj57971yz7xz5mmnzwymgigr3b9mr6nh9iids98g9vy";
|
||||
DescenteInfinie = "0is6kclxhfd9n4sdpfkzm4kcc740ifkylg11b8z90frwq79a8yzb";
|
||||
Dictionaries = "13zhjvgl20f0hj2pp0zkczm9pwdgh174248jgbqj87rn5alyr2iy";
|
||||
DistributedReferenceCounting = "1kw6fb7rvkkrh5rz1839jwf9hrpnrsdnhjlpx3634d5a5kbbdj6a";
|
||||
DomainTheory = "1g39bgyxfj9r51vrmrxhrq1xqr36j5q8x0zgz2a12b0k3fj8bswn";
|
||||
Ergo = "0xkza35n3f05gkfywaisnis70zsrkh1kwq5idsb2k0rw8m4hq9ki";
|
||||
EuclideanGeometry = "11n8877zksgksdfcj7arjx0zcfhsrvg83lcp6yb2bynvfp80gyzb";
|
||||
EulerFormula = "1nhh49rf6wza2m5qmz5l5m24m299qn3v80wqzvf51lybadzll2h6";
|
||||
ExactRealArithmetic = "1p32g13sx2z5rj3q6390ym8902gvl5x16wdhgz5i75y44s6kmkb1";
|
||||
Exceptions = "0w2b16nr80f70dxllmhbqwfr1aw26rcfbak5bdyc0fna8hqp4q3p";
|
||||
FOUnify = "1vwp5rwvs5ng4d13l9jjh4iljasfqmc5jpla8rga4v968bp84nw6";
|
||||
FSSecModel = "0fi78vqfrw4vrmdw215ic08rw8y6aia901wqs4f1s9z2idd6m8qy";
|
||||
FSets = "1n54s2vr6snh31jnvr79q951vyk0w0w6jrnwnlz9d3vyw47la9js";
|
||||
Fairisle = "0gg9x69qr0zflaryniqnl8d34kjdij0i55fcb1f1i5hmrwn2sqn6";
|
||||
Fermat4 = "0d5lkkrw3vqw6dip1mrgn8imq861xaipirzwpd35jgdkamds802v";
|
||||
FingerTree = "1kzfv97mc9sbprgg76lb5lk71gr4a5q10q8yaj57qw3m5hvmdhmw";
|
||||
FiringSquad = "0y2dy75j97x0592dxcbcd00ffwnf61f92yiap68xszv3dixl9i9x";
|
||||
Float = "1xmskkfd9w3j0bynlmadsrv997988k17bcs0r3zxaazm7vvw2sci";
|
||||
FreeGroups = "00pskmp0kfnnafldzcw8vak5v2n0nsjl9pfbw8qkj1xzzbvym2wk";
|
||||
FunctionsInZFC = "1vfs27m5f2cx0q2qjlxj3nim1bv53mk241pqz9mpj4plcj0g838l";
|
||||
FundamentalArithmetics = "1vvgl5c7rcg3bxizcjdix0fn20vdqy73ixcvm714llb8p986lan5";
|
||||
GC = "11kwn43nm58bv7v3p8xg2ih4x0gvgigz26gzh8l8w3lgmriqmzx0";
|
||||
GenericEnvironments = "1w05ysx0rl17fgxq3fc0p7p3h70c94qxa6yq88ppyhwm1cqqgihw";
|
||||
Goedel = "0b1dfmxp9q5z2l59yz5bn37m0zz4307kq94a7fs8s0lbbwrgyhrf";
|
||||
GraphBasics = "1f2bsfkhlyzjvy6ln62sf6hpy9dh8azrnlfpjq6jn667nfb7cbf6";
|
||||
Graphs = "0smhsas27llkmfkn4vs8ygb9w19ci2q4ps0f2q969xv8n8n0bj4z";
|
||||
GroupTheory = "141w3zbf7jczbk1lrpz6dnpk8yh1vr4f7kw55siawwaai11bh7c1";
|
||||
Groups = "00zmn1q9lz7dz8p5wk34svwki9xwn62xkgnhw4bcx8awlbx1pw3a";
|
||||
Hardware = "1bp9bnvlv54ksngmgzyxaqw1idxw5snmwrcifqcd6088w6hd9w1n";
|
||||
Hedges = "1abbf8v0i8akmhbi2hmb1l9wxvql275c9mxf0r5lzxigwmf0qrbv";
|
||||
HighSchoolGeometry = "09n70n0sb1dxnss9xz7xj2z1070gzxs4ap1h0kjcrfkiqss11fpy";
|
||||
HigmanCF = "05qg4ci8bvd6s9nmj80imj3b9kfwy4xzfy8ckr5870505mkzxyxv";
|
||||
HigmanNW = "0i3mmyh20iib7pglalf4l2p62qyqa6w0mz557n53aa2zx6l0dw18";
|
||||
HigmanS = "1c9db1jrpwzqw0arsiljskx3pcxpc1flkdql87fn55lgypbfz5gk";
|
||||
HistoricalExamples = "16alm4cv9hj59jyn1rnmb1dnbwp488wpzbnkq6hrnl5drr78gx08";
|
||||
HoareTut = "1mazqhb0hclknnzbr4ka1aafkk36hl6n4vixkf5kfvyymr094d0a";
|
||||
Huffman = "1h14qdbmawjn9hw813hsywxz0az80nx620rr35mb9wg8hy4xw7jj";
|
||||
IEEE754 = "06xrpzg2q9x2bzm7h16k0czm56sgsdn1rxpdgcl44743q3mvpi5p";
|
||||
IPC = "1xcgrln8nn2h98qyqz36d0zszjs33kcclv9vamz8mc163agk6jxy";
|
||||
IZF = "12inbpihh35hbrh4prs93r4avxlgsj5019n7bndi4fgn09m839bm";
|
||||
Icharate = "0giak87mv7g0312i05r7v06wb8wmfkrd2ai54r4c80497f72d17l";
|
||||
IdxAssoc = "0gdaxnwyw8phi97izx0wfbpccql73yjdzqqygc4i6nfw4lwanx38";
|
||||
IntMap = "1zmlcqv2mz488vpxa6iwbi6sqcljkmb55mywb5pabjjwjj745jhx";
|
||||
JProver = "0vz07sclzx0izwm5klwmd0amxhzqly6aknh876vvh3033jp62ik0";
|
||||
JordanCurveTheorem = "0varv6ib4f0l3jjq71rafb071ivzcnyxjb5ri8bf6vbjl4fqr335";
|
||||
Karatsuba = "02190l3dl0k6qxi3djr2imy4h31kcr5kj94l2ys3xqg1kjjajcmj";
|
||||
Kildall = "0lbby3gd3pwivkhr6v8c73915cswmvh50nj3ch10f0zix8lsxrpa";
|
||||
LTL = "0bk4232pa6mkbmxjazknfbnmzh2pcjccr68dkf8a2ndd06yfaii1";
|
||||
Lambda = "1wy9r95acwf7srs54y5kgmgl9d48j8b871n4z26xpbhdi2pvv9a4";
|
||||
Lambek = "0f6nd3fsxsaij9wypwd3cxmgn3larkxg4xww9c0yvjqxpgc5s552";
|
||||
LesniewskiMereology = "11wgw93fxwnbvwmpnscvgg9caakhr3wbvqwzqkk1p8wfslpvf7pj";
|
||||
LinAlg = "0gl081rx0iikhaghjny3g04aaqgiv0wq6r6c34qpcr5jc6i40mdr";
|
||||
MapleMode = "0a50dx473mmg7ksmghbjqs2rg4334dqdd2rkydicw8fl406z19ab";
|
||||
Markov = "06aacr8ghycjm68r36hip4rjhwfnbz7az2k8pa92pakjm0am78lq";
|
||||
MathClasses = "1gj6dznlc2ma5b5qn9mlinavlrl4xq18dilzd0l9j8jrxfdk1q7n";
|
||||
Maths = "15qbv7dxj4ygmw38gnmyf2kwdmy75a21yf991c8lw6fzx334b4dv";
|
||||
Matrices = "1q3683xvsgjqlav6kfxx7y05lvr5gp60hpbx4ypwa0hsl6w14mn0";
|
||||
#Micromega = "0h2ybdlbdvy30l5kzkfvp5kwsf236fxd3xi87pl4pl3dzylzsbh4";
|
||||
MiniC = "1gg9jinay9i3jbsi8bbwxzr9584wycdadf02c5al5yv281ywjar0";
|
||||
MiniCompiler = "0yq0k8c0rp120pfssdwfpmz017vq2w8s0rzk9gls476gywjmdvgf";
|
||||
MiniML = "1fd4k6rzn5cr24d11dnyy9jp2wf3n8d8l7q7bxk94lbrj6lhrzw2";
|
||||
ModRed = "1khg29cm83npasxqlm13bv2w2kfkn9hrvf5q2wch9l1l4ghys4rk";
|
||||
Multiplier = "07bj7j4agq2cvhfbkwgrvg39jlzlj1mzlm0ykqjwljd7hi4f6yv9";
|
||||
MutualExclusion = "1j3fmf0zvnxg0yzj956jfpjqccnk9l2393q6as80a5gfqhlb3rcr";
|
||||
Nfix = "1mpn1fbx15naa2d5lbcxl88xsgp1p88xx4g94f8cjzhg6kdnz7cc";
|
||||
OrbStab = "06gg3d2f9qybs2c49mm7srzqx5r9dxail92bcxdi6lr0k74y75ml";
|
||||
OtwayRees = "1d39yxppnpzpn5yxdk6rinrgxwgsnr348cggyhwjmgyjm8mr9gcp";
|
||||
PAutomata = "0hlzvdi9kb291g36lgyy3vlpn7i8rphpwjisy3wh19j4yqqc7ddf";
|
||||
PTS = "12y9niiks4rzpvzzvgfwc1z37480c4l9nvsmh4wx6gsvpnjqvyl3";
|
||||
PTSATR = "10jsfbsdaiqrdgp9vnc84wwkxjyfin35kr1qckbax6599xgyk7vj";
|
||||
PTSF = "0yz7sh2d4ldcqblnvb96yyimsb4351qqjl8di1cy785mnxa1zfla";
|
||||
Paradoxes = "03b22vhkra038z3nfbv9wpbr63x984qyrfvrg58lwqq87s5kgv1d";
|
||||
ParamPi = "1p64yj2pqqvyx5b5xm0pv0pm9lqp7hc5hb3wjnwvzi3qchqf7hwi";
|
||||
PersistentUnionFind = "1ljdnsm6h3zfn43vla13ibx42kfvgmy6n9qyfn7cgkcw5yv4fh6m";
|
||||
PiCalc = "1af8ws86mqs55dldcpm7x4qhk11k0f8l88z2bv6hylfvy6fpbpiy";
|
||||
Pocklington = "18zx1ca3pn3vn763smmrnfi395007ddzicrr0cydrph6g4agdw3g";
|
||||
Presburger = "1n3nqrplgx1r2vvpcbp91l02c7zc297fkpsqgx1x1msqrldnac9y";
|
||||
Prfx = "1nyh134hlh6cdxpys9kv0ngiiibgigh2mifwf8rdz6aj6xj7dgyv";
|
||||
ProjectiveGeometry = "01x409rbh3rqxyz53v0kdixnqqv7b890va04a21862g8bml7ls6k";
|
||||
QArith = "0xvkw3d3kgiyw6b255f6zbkali1023a9wmn12ga3bgak24jsa8lg";
|
||||
QArithSternBrocot = "1kvzww76nxgq7b3b3v2wrjxaxskfrzk55zpg6mj1jjcpgydfqwjr";
|
||||
QuicksortComplexity = "0c5gj65rxnxydspc4jqq20c8v9mjbnjrkjkk220yxymbv5n3nqd1";
|
||||
RSA = "0b56ipivbbdwc0w7bp4v4lwl0fhhb73k2b62ybmb3x7alc599mc0";
|
||||
RailroadCrossing = "0z5cnw1d8jbg30lc9p1hsgrnjwjc4yhpxl74m2pcjscrrnr01zsf";
|
||||
Ramsey = "0sd3cihzfx7mn7wcsng15y4jqvp1ql49fy1ch997wfbchp6515ld";
|
||||
Random = "0b7gwz38fbk9j5sfa76c2n4781kcb18r65v9vzz8qigx37gm89w4";
|
||||
Rational = "0v1zjcf22ij9daxharmaavwp2msgl77y5ad46lskshpypd1ysrsc";
|
||||
RecursiveDefinition = "1y4gy2ksxkvmz16zrnblwd1axi7gdjw171n8xfw4f8400my1qhm0";
|
||||
ReflexiveFirstOrder = "156a6kmds25kc645w6kkhn3a4bvryp307b76ghz5m5wv2wsajgrn";
|
||||
RegExp = "0gya2kckr6325hykd12vwpbwwf7cf04yyjrr2dvmcc81dkygrwxb";
|
||||
RelationAlgebra = "1nrhkvypkk7k48gb18c2q9cwbgy02ldfg6s3j74f5rgff1i6c9in";
|
||||
RelationExtraction = "1g6hvmsfal17pppqf9v8zh2i1dph0lj5a1r3xiszqr4biiig09ch";
|
||||
ReleasedSsreflect = "17wirznfsizmw6gjb54vk9bp97a3bc1l2sb4gdxfbzvxmabx1a9l";
|
||||
Rem = "03559q60ibf4dr1np82341xfrw134d27dx8dim84q9fszr4gy8sx";
|
||||
RulerCompassGeometry = "02vm80xvvw22pdxrag3pv5zrhqf8726i9jqsiv4bnjqavj5z2hdr";
|
||||
SMC = "0ca3ar1y9nyj5147r18babqsbg2q2ywws8fdi91xb5z9m3i97nv1";
|
||||
Schroeder = "0mfbjmw4a48758k88yv01494wnywcp5yamkl394axvvbbna9h8b6";
|
||||
SearchTrees = "1jyps6ddm8klmxjm50p2j9i014ij7imy3229pwz3dkzg54gxzzxb";
|
||||
Semantics = "157db1y5zgxs9shl7rmqg89gxfa4cqxwlf6qys0jh3j0wsxs8580";
|
||||
Shuffle = "14v1m4s9k49w30xrnyncjzgqjcckiga8wd2vnnzy8axrwr9zq7iq";
|
||||
SquareMatrices = "07dlykg3w59crc54qqdqxq6hf8rmzvwwfr1g8z8v2l8h4yvfnhfl";
|
||||
Ssreflect = "07hv0ixv68d8vrpf9s6gxazxaz5fwpmhqrd6cqw7xp8m8gspxifz";
|
||||
Stalmarck = "0vcbkzappq1si4hxbnb9bjkfk82j3jklb8g8ia83h1mdhzr7xdpz";
|
||||
Streams = "1spcqnvwayahk12fd13vzh922ypzrjkcmws9gcy12qdqp04h8bnc";
|
||||
String = "1wy7g66yq9y8m8y3gq29q7whfdm98g3cj9jxm5yibdzfahfdzzni";
|
||||
Subst = "1wxscjhz2y2jv5rdga80ldx2kc954sklip4jsbsd2fim5gwxzl23";
|
||||
Sudoku = "0f9h8gwzrdzk5j76nhvlnvpll81zar3pk84r2bf1xfav4yvj8sj7";
|
||||
SumOfTwoSquare = "1lxf9wdmvpi0vz4d21p6v9h2vvkk9v8113mvr2cdxd0j43l4ra18";
|
||||
Tait = "0bwxl894isndwadbbc3664j51haj3c0i57zmmycnxmhnmsx5pnjj";
|
||||
TarskiGeometry = "1vkznrjla943wcyddzyq0pqraiklgn62n1720msxp7cs13ckzpy0";
|
||||
ThreeGap = "01nj27xs348126ynsnva1jnvk0nin61xzyi6hwcybj5n46r7nlcv";
|
||||
Topology = "1kchddfiksjnkvwdr2ffpqcvmqkd6gf359r09yngf340sa15p5wk";
|
||||
TortoiseHareAlgorithm = "1ldm1z48j59lxz60szpy64d0928j4fmygp5npfksvwkvghijchq8";
|
||||
TreeAutomata = "0jzfa6rxv7lw1nzrqaxv08h9mpyvc2g4cbdc09ncyhazincrix0z";
|
||||
TreeDiameter = "0xdansrbmxrwicvqjjr9ivgs0255nd4ic6jkfv37m1c10vxcjq2n";
|
||||
WeakUpTo = "1baaapciaqhyjx8bqa4l04l1vwycyy1bvjr2arrc9myqacifmnpp";
|
||||
ZChinese = "0v7gffmcj9yazbbssb2i2iha1dr82b4bl8df9g021s40da49k09k";
|
||||
ZF = "0am15lgpn127pzx6ghm76axy75w7m9a8wqa26msgkczjk4x497ni";
|
||||
ZFC = "0s11g9rzacng2xg9ygx9lxyqv2apxyirnf7cg3iz95531n46ppn2";
|
||||
ZSearchTrees = "1lh6jlzm53jnsg91aa60f6gir6bsx77hg8xwl24771jg8a9b9mcl";
|
||||
ZornsLemma = "0dxizjfjx4qsdwc60k6k9fnq8hj4m13vi0llsv9xk3lj3izhpil1";
|
||||
lazyPCF = "0wzpv41nv3gdd07g9pr7wydfjv1wxz8kylzmyn07ab38kahhhzh9";
|
||||
lc = "05zr0y2ivznmf1ijszq249v4rw6kvdx6jz4s2hhnaiqvx35g4cqg";
|
||||
}
|
|
@ -1,261 +0,0 @@
|
|||
contribs:
|
||||
|
||||
let
|
||||
mkContrib = import ./mk-contrib.nix;
|
||||
all = import ./all.nix;
|
||||
overrides = {
|
||||
Additions = self: {
|
||||
patchPhase = ''
|
||||
for p in binary_strat dicho_strat generation log2_implementation shift
|
||||
do
|
||||
substituteInPlace $p.v \
|
||||
--replace 'Require Import Euclid.' 'Require Import Coq.Arith.Euclid.'
|
||||
done
|
||||
'';
|
||||
};
|
||||
BDDs = self: {
|
||||
buildInputs = self.buildInputs ++ [ contribs.IntMap ];
|
||||
patchPhase = ''
|
||||
patch Make <<EOF
|
||||
2d1
|
||||
< -R ../../Cachan/IntMap IntMap
|
||||
32d30
|
||||
< extraction
|
||||
EOF
|
||||
coq_makefile -f Make -o Makefile
|
||||
'';
|
||||
postInstall = ''
|
||||
mkdir -p $out/bin
|
||||
cp extraction/dyade $out/bin
|
||||
'';
|
||||
};
|
||||
CanonBDDs = self: {
|
||||
patchPhase = ''
|
||||
patch Make <<EOF
|
||||
17d16
|
||||
< rauzy/algorithme1/extraction
|
||||
EOF
|
||||
coq_makefile -f Make -o Makefile
|
||||
'';
|
||||
postInstall = ''
|
||||
mkdir -p $out/bin
|
||||
cp rauzy/algorithme1/extraction/suresnes $out/bin
|
||||
'';
|
||||
};
|
||||
CoinductiveReals = self: {
|
||||
buildInputs = self.buildInputs ++ [ contribs.QArithSternBrocot ];
|
||||
patchPhase = ''
|
||||
patch Make <<EOF
|
||||
2d1
|
||||
< -R ../QArithSternBrocot QArithSternBrocot
|
||||
EOF
|
||||
coq_makefile -f Make -o Makefile
|
||||
'';
|
||||
};
|
||||
CoRN = self: {
|
||||
buildInputs = self.buildInputs ++ [ contribs.MathClasses ];
|
||||
patchPhase = ''
|
||||
patch Make <<EOF
|
||||
2d1
|
||||
< -R ../MathClasses/ MathClasses
|
||||
EOF
|
||||
coq_makefile -f Make -o Makefile.coq
|
||||
'';
|
||||
enableParallelBuilding = true;
|
||||
installFlags = self.installFlags + " -f Makefile.coq";
|
||||
};
|
||||
Counting = self: {
|
||||
postInstall = ''
|
||||
for ext in cma cmxs
|
||||
do
|
||||
cp src/counting_plugin.$ext $out/lib/coq/8.4/user-contrib/Counting/
|
||||
done
|
||||
'';
|
||||
};
|
||||
Ergo = self: {
|
||||
buildInputs = self.buildInputs ++ (with contribs; [ Containers Counting Nfix ]);
|
||||
patchPhase = ''
|
||||
patch Make <<EOF
|
||||
4,9d3
|
||||
< -I ../Containers/src
|
||||
< -R ../Containers/theories Containers
|
||||
< -I ../Nfix/src
|
||||
< -R ../Nfix/theories Nfix
|
||||
< -I ../Counting/src
|
||||
< -R ../Counting/theories Counting
|
||||
EOF
|
||||
coq_makefile -f Make -o Makefile
|
||||
'';
|
||||
};
|
||||
FingerTree = self: {
|
||||
patchPhase = ''
|
||||
patch Make <<EOF
|
||||
21d20
|
||||
< extraction
|
||||
EOF
|
||||
coq_makefile -f Make -o Makefile
|
||||
'';
|
||||
};
|
||||
FOUnify = self: {
|
||||
patchPhase = ''
|
||||
patch Make <<EOF
|
||||
8c8
|
||||
< -custom "\$(CAMLOPTLINK) -pp '\$(CAMLBIN)\$(CAMLP4)o' -o unif unif.mli unif.ml main.ml" unif.ml unif
|
||||
---
|
||||
> -custom "\$(CAMLOPTLINK) -pp 'camlp5o' -o unif unif.mli unif.ml main.ml" unif.ml unif
|
||||
EOF
|
||||
coq_makefile -f Make -o Makefile
|
||||
'';
|
||||
postInstall = ''
|
||||
mkdir -p $out/bin
|
||||
cp unif $out/bin/
|
||||
'';
|
||||
};
|
||||
Goedel = self: {
|
||||
buildInputs = self.buildInputs ++ [ contribs.Pocklington ];
|
||||
patchPhase = ''
|
||||
patch Make <<EOF
|
||||
2d1
|
||||
< -R ../../Eindhoven/Pocklington Pocklington
|
||||
EOF
|
||||
coq_makefile -f Make -o Makefile
|
||||
'';
|
||||
};
|
||||
Graphs = self: {
|
||||
buildInputs = self.buildInputs ++ [ contribs.IntMap ];
|
||||
patchPhase = ''
|
||||
patch Make <<EOF
|
||||
2d1
|
||||
< -R ../../Cachan/IntMap IntMap
|
||||
EOF
|
||||
coq_makefile -f Make -o Makefile
|
||||
'';
|
||||
postInstall = ''
|
||||
mkdir -p $out/bin
|
||||
cp checker $out/bin/
|
||||
'';
|
||||
};
|
||||
IntMap = self: { configurePhase = "coq_makefile -f Make -o Makefile"; };
|
||||
LinAlg = self: {
|
||||
buildInputs = self.buildInputs ++ [ contribs.Algebra ];
|
||||
patchPhase = ''
|
||||
patch Make <<EOF
|
||||
2d1
|
||||
< -R ../../Sophia-Antipolis/Algebra/ Algebra
|
||||
EOF
|
||||
coq_makefile -f Make -o Makefile
|
||||
'';
|
||||
};
|
||||
Markov = self: { configurePhase = "coq_makefile -o Makefile -R . Markov markov.v"; };
|
||||
Nfix = self: {
|
||||
postInstall = ''
|
||||
for ext in cma cmxs
|
||||
do
|
||||
cp src/nfix_plugin.$ext $out/lib/coq/8.4/user-contrib/Nfix/
|
||||
done
|
||||
'';
|
||||
};
|
||||
OrbStab = self: {
|
||||
buildInputs = self.buildInputs ++ (with contribs; [ LinAlg Algebra ]);
|
||||
patchPhase = ''
|
||||
patch Make <<EOF
|
||||
2,3d1
|
||||
< -R ../../Sophia-Antipolis/Algebra Algebra
|
||||
< -R ../../Nijmegen/LinAlg LinAlg
|
||||
EOF
|
||||
coq_makefile -f Make -o Makefile
|
||||
'';
|
||||
};
|
||||
PTSF = self: {
|
||||
buildInputs = self.buildInputs ++ [ contribs.PTSATR ];
|
||||
patchPhase = ''
|
||||
patch Make <<EOF
|
||||
1d0
|
||||
< -R ../../Paris/PTSATR/ PTSATR
|
||||
EOF
|
||||
coq_makefile -f Make -o Makefile
|
||||
'';
|
||||
};
|
||||
RelationExtraction = self: {
|
||||
patchPhase = ''
|
||||
patch Make <<EOF
|
||||
31d30
|
||||
< test
|
||||
EOF
|
||||
coq_makefile -f Make -o Makefile
|
||||
'';
|
||||
};
|
||||
Semantics = self: {
|
||||
patchPhase = ''
|
||||
patch Make <<EOF
|
||||
18a19
|
||||
> interp.mli
|
||||
EOF
|
||||
'';
|
||||
configurePhase = ''
|
||||
coq_makefile -f Make -o Makefile
|
||||
make extract_interpret.vo
|
||||
rm -f str_little.ml.d
|
||||
'';
|
||||
};
|
||||
SMC = self: {
|
||||
buildInputs = self.buildInputs ++ [ contribs.IntMap ];
|
||||
patchPhase = ''
|
||||
patch Make <<EOF
|
||||
2d1
|
||||
< -R ../../Cachan/IntMap IntMap
|
||||
EOF
|
||||
coq_makefile -f Make -o Makefile
|
||||
'';
|
||||
};
|
||||
Ssreflect = self: {
|
||||
patchPhase = ''
|
||||
substituteInPlace Makefile \
|
||||
--replace "/bin/mkdir" "mkdir"
|
||||
'';
|
||||
};
|
||||
Stalmarck = self: {
|
||||
configurePhase = "coq_makefile -R . Stalmarck *.v staltac.ml4 > Makefile";
|
||||
};
|
||||
Topology = self: {
|
||||
buildInputs = self.buildInputs ++ [ contribs.ZornsLemma ];
|
||||
patchPhase = ''
|
||||
patch Make <<EOF
|
||||
2d1
|
||||
< -R ../ZornsLemma ZornsLemma
|
||||
EOF
|
||||
coq_makefile -f Make -o Makefile
|
||||
'';
|
||||
};
|
||||
TreeAutomata = self: {
|
||||
buildInputs = self.buildInputs ++ [ contribs.IntMap ];
|
||||
patchPhase = ''
|
||||
patch Make <<EOF
|
||||
2d1
|
||||
< -R ../../Cachan/IntMap IntMap
|
||||
EOF
|
||||
coq_makefile -f Make -o Makefile
|
||||
'';
|
||||
};
|
||||
};
|
||||
in
|
||||
|
||||
callPackage: extra:
|
||||
|
||||
builtins.listToAttrs (
|
||||
map
|
||||
(name:
|
||||
let
|
||||
sha256 = builtins.getAttr name all;
|
||||
override =
|
||||
if builtins.hasAttr name overrides
|
||||
then builtins.getAttr name overrides
|
||||
else x: { };
|
||||
in
|
||||
{
|
||||
inherit name;
|
||||
value = callPackage (mkContrib { inherit name sha256 override; }) extra;
|
||||
}
|
||||
)
|
||||
(builtins.attrNames all)
|
||||
)
|
|
@ -1,30 +0,0 @@
|
|||
{ name, sha256, override }:
|
||||
|
||||
{ stdenv, fetchzip, coq }:
|
||||
|
||||
let
|
||||
self = {
|
||||
|
||||
name = "coq-contribs-${name}-${coq.coq-version}";
|
||||
|
||||
src = fetchzip {
|
||||
url = "http://www.lix.polytechnique.fr/coq/pylons/contribs/files/${name}/v${coq.coq-version}/${name}.tar.gz";
|
||||
inherit sha256;
|
||||
};
|
||||
|
||||
buildInputs = [ coq.ocaml coq.camlp5 ];
|
||||
propagatedBuildInputs = [ coq ];
|
||||
|
||||
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://www.lix.polytechnique.fr/coq/pylons/contribs/view/${name}/v${coq.coq-version}";
|
||||
maintainers = with maintainers; [ vbgl ];
|
||||
platforms = coq.meta.platforms;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
in
|
||||
|
||||
stdenv.mkDerivation (self // override self)
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
let param =
|
||||
{
|
||||
"8.4" = { version = "0.9.0"; sha256 = "1n3bk003vvbghbrxkhal6drnc0l65jv9y77wd56is3jw9xgiif0w"; };
|
||||
"8.5" = { version = "0.9.4"; sha256 = "1y66pamgsdxlq2w1338lj626ln70cwj7k53hxcp933g8fdsa4hp0"; };
|
||||
"8.6" = { version = "0.9.5"; sha256 = "1b4cvz3llxin130g13calw5n1zmvi6wdd5yb8a41q7yyn2hd3msg"; };
|
||||
"8.7" = { version = "0.9.5"; sha256 = "1b4cvz3llxin130g13calw5n1zmvi6wdd5yb8a41q7yyn2hd3msg"; };
|
||||
|
|
|
@ -1,33 +0,0 @@
|
|||
{ stdenv, fetchgit, coq, mathcomp }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
name = "coq-coqeal-${coq.coq-version}-${version}";
|
||||
version = "7522037d";
|
||||
|
||||
src = fetchgit {
|
||||
url = git://github.com/CoqEAL/CoqEAL.git;
|
||||
rev = "7522037d5e01e651e705d782f4f91fc68c46866e";
|
||||
sha256 = "0kbnsrycd0hjni311i8xc5xinn4ia8rnqi328sdfqzvvyky37fgj";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ mathcomp ];
|
||||
|
||||
preConfigure = ''
|
||||
cd theory
|
||||
patch ./Make <<EOF
|
||||
0a1
|
||||
> -R . CoqEAL
|
||||
EOF
|
||||
'';
|
||||
|
||||
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.maximedenes.fr/content/coqeal-coq-effective-algebra-library;
|
||||
description = "A Coq library for effective algebra, by which is meant formally verified computer algebra algorithms that can be run inside Coq on concrete inputs";
|
||||
maintainers = with maintainers; [ jwiegley ];
|
||||
platforms = coq.meta.platforms;
|
||||
};
|
||||
|
||||
}
|
|
@ -1,27 +1,11 @@
|
|||
{ stdenv, fetchurl, which, coq, ssreflect }:
|
||||
|
||||
let param =
|
||||
let
|
||||
v2_1_1 = {
|
||||
version = "2.1.1";
|
||||
url = https://gforge.inria.fr/frs/download.php/file/35429/coquelicot-2.1.1.tar.gz;
|
||||
sha256 = "1wxds73h26q03r2xiw8shplh97rsbim2i2s0r7af0fa490bp44km";
|
||||
};
|
||||
v3_0_1 = {
|
||||
version = "3.0.1";
|
||||
stdenv.mkDerivation {
|
||||
name = "coq${coq.coq-version}-coquelicot-3.0.1";
|
||||
src = fetchurl {
|
||||
url = "https://gforge.inria.fr/frs/download.php/file/37045/coquelicot-3.0.1.tar.gz";
|
||||
sha256 = "0hsyhsy2lwqxxx2r8xgi5csmirss42lp9bkb9yy35mnya0w78c8r";
|
||||
};
|
||||
in {
|
||||
"8.4" = v2_1_1;
|
||||
"8.5" = v3_0_1;
|
||||
"8.6" = v3_0_1;
|
||||
"8.7" = v3_0_1;
|
||||
}."${coq.coq-version}"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "coq${coq.coq-version}-coquelicot-${param.version}";
|
||||
src = fetchurl { inherit (param) url sha256; };
|
||||
|
||||
nativeBuildInputs = [ which ];
|
||||
buildInputs = [ coq ];
|
||||
|
|
|
@ -1,809 +0,0 @@
|
|||
|
||||
Context:
|
||||
|
||||
[additional facts about limits on cuts
|
||||
robdockins@fastmail.fm**20140818025955
|
||||
Ignore-this: 6f9c952db425df6ae9d2a14139a8a3d1
|
||||
]
|
||||
|
||||
[work on limits
|
||||
robdockins@fastmail.fm**20140817221707
|
||||
Ignore-this: 9811e0cd669b48f3beb7a56d47cbe3c3
|
||||
]
|
||||
|
||||
[finish proving that Q field ops commute with injq
|
||||
robdockins@fastmail.fm**20140817060600
|
||||
Ignore-this: a1f6c62b39983e6f6f01d28aca5f8534
|
||||
]
|
||||
|
||||
[split up realdom.v and perform associated code motion
|
||||
robdockins@fastmail.fm**20140817030034
|
||||
Ignore-this: 24c74cd459d2ab15dcd3d83ba06f7081
|
||||
]
|
||||
|
||||
[recip is canonical and converges
|
||||
robdockins@fastmail.fm**20140725211947
|
||||
Ignore-this: c100dbd94114cca9576b2a3f46c9ddc7
|
||||
]
|
||||
|
||||
[improve the proof that 1 is a unit for multiplication
|
||||
robdockins@fastmail.fm**20140724150124
|
||||
Ignore-this: c5ec976f8a9858a7ba1f704b4e84d02e
|
||||
]
|
||||
|
||||
[complete proof the interval multiplication converges; other minor stuff
|
||||
robdockins@fastmail.fm**20140724015132
|
||||
Ignore-this: bc717baa4c8f9ec31b821c5cfae5b499
|
||||
]
|
||||
|
||||
[further progress in realdom.v
|
||||
robdockins@fastmail.fm**20140723004023
|
||||
Ignore-this: f33e18d22ae69c9b6209e28151d18017
|
||||
]
|
||||
|
||||
[unmessify rational_intervals patch
|
||||
robdockins@fastmail.fm**20140721123718
|
||||
Ignore-this: 4a125b192a9964a508a1063845e9f160
|
||||
]
|
||||
|
||||
[messy updates to rational_intervals.v
|
||||
robdockins@fastmail.fm**20140721015810
|
||||
Ignore-this: 858dac9c55426167c6f397a71ef3fda5
|
||||
]
|
||||
|
||||
[implicit arguments for "fixes"
|
||||
robdockins@fastmail.fm**20140721015739
|
||||
Ignore-this: 229ecdd48265fc855319141e399bc522
|
||||
]
|
||||
|
||||
[metadata
|
||||
robdockins@fastmail.fm**20140714201441
|
||||
Ignore-this: aa16faaf09c1c404bdc6eaf0d0c39912
|
||||
]
|
||||
|
||||
[further beautification
|
||||
robdockins@fastmail.fm**20140714200516
|
||||
Ignore-this: 47d74c51d9fe130a5ac12706b1ddb1d4
|
||||
]
|
||||
|
||||
[start working on the recripricol function
|
||||
robdockins@fastmail.fm**20140714180055
|
||||
Ignore-this: c7f93cea17f46daa78a1ea14e86dfcaf
|
||||
]
|
||||
|
||||
[tweaks to the lambda models
|
||||
robdockins@fastmail.fm**20140714180031
|
||||
Ignore-this: 219788fe70f42f0f6e60176cab464f19
|
||||
]
|
||||
|
||||
[beauty edits in st_lam*
|
||||
robdockins@fastmail.fm**20140714180006
|
||||
Ignore-this: a40aa7ae00ed27595ee04073918bd028
|
||||
]
|
||||
|
||||
[move stuff to rational_intervals.v / define real_mult and prove some properties
|
||||
robdockins@fastmail.fm**20140712053232
|
||||
Ignore-this: 398c5c03aac9ff37526d4d7c9e1a82c0
|
||||
]
|
||||
|
||||
[finish correctness proof for interval multiplication
|
||||
robdockins@fastmail.fm**20140711191547
|
||||
Ignore-this: c9ab138a0ca43fe0b133b208419bbcc4
|
||||
]
|
||||
|
||||
[break out facts about rational intervals
|
||||
robdockins@fastmail.fm**20140711012320
|
||||
Ignore-this: b7fe6e9377629a89b5debe3019ae1aa
|
||||
]
|
||||
|
||||
[updates to ideal completion
|
||||
robdockins@fastmail.fm**20140707053800
|
||||
Ignore-this: 90d1efbd0e5833d8c83f0df056d7a74c
|
||||
]
|
||||
|
||||
[a pile of additional properties in realdom.v
|
||||
robdockins@fastmail.fm**20140707053519
|
||||
Ignore-this: 7edba1e72a1856f297ef11e698ed989f
|
||||
]
|
||||
|
||||
[some properties of converging prereals
|
||||
robdockins@fastmail.fm**20140706041401
|
||||
Ignore-this: 273bfbb245302becd7ff402831827ffb
|
||||
]
|
||||
|
||||
[make realdom compile
|
||||
robdockins@fastmail.fm**20140630015439
|
||||
Ignore-this: 8bfc8eaeed4a1596450b0bb9ddef9aaa
|
||||
]
|
||||
|
||||
[renaming
|
||||
robdockins@fastmail.fm**20140630011639
|
||||
Ignore-this: a287e083af095790cbf2b48df7a58739
|
||||
]
|
||||
|
||||
[reorganize some code
|
||||
robdockins@fastmail.fm**20140630011446
|
||||
Ignore-this: f1375b9e7ad822cb92f0c83d4001eddd
|
||||
]
|
||||
|
||||
[build the retract for realdom
|
||||
robdockins@fastmail.fm**20140630001245
|
||||
Ignore-this: 4eb9da621588417d1b7b2fc980c7bf70
|
||||
]
|
||||
|
||||
[fill out lemmas about cPLT
|
||||
robdockins@fastmail.fm**20140630001140
|
||||
Ignore-this: add9e45c14621e3d6328684098bf8461
|
||||
]
|
||||
|
||||
[more facts about cPLT
|
||||
robdockins@fastmail.fm**20140628073731
|
||||
Ignore-this: 101a131ed114902924a1707eff7ebc70
|
||||
]
|
||||
|
||||
[continuous domains as retracts of bifinite domains
|
||||
robdockins@fastmail.fm**20140628035522
|
||||
Ignore-this: 5e7c61d49cf8424412b0d94f5fcb5ee6
|
||||
]
|
||||
|
||||
[start implementing arithmetic operations in RealDom
|
||||
robdockins@fastmail.fm**20140620003249
|
||||
Ignore-this: c28479b8a933cba263765bdddb112264
|
||||
]
|
||||
|
||||
[define the domain of rational intervals
|
||||
robdockins@fastmail.fm**20140619040809
|
||||
Ignore-this: 6cbe1a9cc690e5a9d77f37ee299154b
|
||||
this domain is useful for describing the semantics of exact real arithmetic.
|
||||
]
|
||||
|
||||
[show that every effective CUSL is Plotkin
|
||||
robdockins@fastmail.fm**20140619034433
|
||||
Ignore-this: d529a4b1d6d698f79572caa805072394
|
||||
]
|
||||
|
||||
[fix notation for octothorpe
|
||||
robdockins@fastmail.fm**20140614222130
|
||||
Ignore-this: 3dc815825f11ceaf4f4f53e4668e6382
|
||||
]
|
||||
|
||||
[fix for coq 8.4pl4
|
||||
robdockins@fastmail.fm**20140614222049
|
||||
Ignore-this: 9745904845aaf54e5569df982fc93d65
|
||||
]
|
||||
|
||||
[move swelling lemma into finsets
|
||||
robdockins@fastmail.fm**20140504080535
|
||||
Ignore-this: ffa560e9aa4e4f8b15a55c1f9b1da72e
|
||||
]
|
||||
|
||||
[documentation improvements and code motion
|
||||
robdockins@fastmail.fm**20140504070008
|
||||
Ignore-this: da7847f82403990342732a8ce226315c
|
||||
]
|
||||
|
||||
[replace the old finprod
|
||||
robdockins@fastmail.fm**20140504005534
|
||||
Ignore-this: 606cf44422f68d66c8d2d90049e67b93
|
||||
]
|
||||
|
||||
[remove the old finprod
|
||||
robdockins@fastmail.fm**20140504005137
|
||||
Ignore-this: 38bd54e16c87d27bbede08496c37bfba
|
||||
]
|
||||
|
||||
[update st_lam_fix to use the new finprod
|
||||
robdockins@fastmail.fm**20140504003627
|
||||
Ignore-this: 95d0a66e99ccead89bdfef09a1c8c109
|
||||
]
|
||||
|
||||
[update st_lam to use the new termmodel
|
||||
robdockins@fastmail.fm**20140503230854
|
||||
Ignore-this: c3d6b2155674b414c5c2e14b85b13760
|
||||
]
|
||||
|
||||
[new version of finprod with a better term model
|
||||
robdockins@fastmail.fm**20140503222035
|
||||
Ignore-this: db63e3a063bdb6f2f579644c7b63bd1b
|
||||
]
|
||||
|
||||
[a few more (hopefully final) lemmas about union
|
||||
robdockins@fastmail.fm**20140422223924
|
||||
Ignore-this: 7b95c75abef9b0d45863b5e33d1c5a37
|
||||
]
|
||||
|
||||
[finish proofs about union
|
||||
robdockins@fastmail.fm**20140422065034
|
||||
Ignore-this: 2929c3cdb013c028a48022b0293b2f18
|
||||
]
|
||||
|
||||
[powerdomain progress
|
||||
robdockins@fastmail.fm**20140421064325
|
||||
Ignore-this: 592f9c6046f05a27897b460edb2efe10
|
||||
Show that powerdomains are endofunctors on PLT. Further, they are monads with
|
||||
the 'singleton' and 'join' operations. Also make some progress on the additive
|
||||
portion of the theory, dealing with emptyset and union.
|
||||
]
|
||||
|
||||
[tweak makefile
|
||||
robdockins@fastmail.fm**20140420031337
|
||||
Ignore-this: d5954b26f731bfed3d79cefacab322fb
|
||||
]
|
||||
|
||||
[show that semvalue is the weakest condition allowing beta-reduction of strict functions
|
||||
robdockins@fastmail.fm**20140420020447
|
||||
Ignore-this: 16a7ed23f04879f1fb324bdac8a2ffaf
|
||||
]
|
||||
|
||||
[some additional operations relating to the PLT adjunction
|
||||
robdockins@fastmail.fm**20140420020351
|
||||
Ignore-this: db8eec6e3f74cce3acb67d2b660b104e
|
||||
]
|
||||
|
||||
[finish building power domain fmap
|
||||
robdockins@fastmail.fm**20140420020217
|
||||
Ignore-this: 556e1cb87576de36cb26f8add3a1b163
|
||||
]
|
||||
|
||||
[fix up st_lam.v
|
||||
robdockins@fastmail.fm**20140329015058
|
||||
Ignore-this: 1c31d674b759fbd0cc74fb3125579f96
|
||||
]
|
||||
|
||||
[push some proofs into finprod
|
||||
robdockins@fastmail.fm**20140329000401
|
||||
Ignore-this: 49070fdd951e49473e60d3cd0ec431c6
|
||||
]
|
||||
|
||||
[documentation and aesthetic changeds
|
||||
robdockins@fastmail.fm**20140327043141
|
||||
Ignore-this: be27b24b78ea6af722a307117e59f5b3
|
||||
]
|
||||
|
||||
[finish the st_lam_fix example
|
||||
robdockins@fastmail.fm**20140322011153
|
||||
Ignore-this: e702f564b6eab2f8c11ab16bcb62504b
|
||||
]
|
||||
|
||||
[clarafications re: countable choice; remove unfinished example from build order
|
||||
robdockins@fastmail.fm**20140321212852
|
||||
Ignore-this: 2a9d5c79c05ba088e1815feab99a5f6c
|
||||
]
|
||||
|
||||
[break the "fixes" operator into a separate file and prove some facts about it
|
||||
robdockins@fastmail.fm**20140318013247
|
||||
Ignore-this: 80c506cef0719a974a049a1f5870f676
|
||||
]
|
||||
|
||||
[minor fix to skiy.v
|
||||
robdockins@fastmail.fm**20140317054057
|
||||
Ignore-this: ffef6fcaf5fa7f8cea80d2808caf4f4c
|
||||
]
|
||||
|
||||
[add the fixpoint operator; admit proofs
|
||||
robdockins@fastmail.fm**20140317044648
|
||||
Ignore-this: 97ca18e980cdf46a9b40c8252badef14
|
||||
]
|
||||
|
||||
[remove the evaluation case for variables
|
||||
robdockins@fastmail.fm**20140317032932
|
||||
Ignore-this: e46d634e735e5b21a18518a48777168d
|
||||
]
|
||||
|
||||
[start on STLC with fixpoints -- but without fixpoints for now
|
||||
robdockins@fastmail.fm**20140317031953
|
||||
Ignore-this: 3458bc18c73d967bef58418bc73e06cb
|
||||
]
|
||||
|
||||
[add the eliminator for booleans to st_lam; other additional utility lemmas
|
||||
robdockins@fastmail.fm**20140317031753
|
||||
Ignore-this: 369dd375755cbd9ae5e3c969f3ef6ec
|
||||
]
|
||||
|
||||
[some minor code motion
|
||||
robdockins@fastmail.fm**20140228064927
|
||||
Ignore-this: 804828472ddb0c5fafc72460fce8387b
|
||||
]
|
||||
|
||||
[plug final holes in st_lam and add to build order
|
||||
robdockins@fastmail.fm**20140228044729
|
||||
Ignore-this: 3edc7f36bfa97775ba33ffa27c80df59
|
||||
]
|
||||
|
||||
[reduce st_lam.v to facts I believe about fresh variables
|
||||
robdockins@fastmail.fm**20140228010832
|
||||
Ignore-this: bde3e73291ddd32337d6fb999e4b1c02
|
||||
]
|
||||
|
||||
[fix breakages
|
||||
robdockins@fastmail.fm**20140226073930
|
||||
Ignore-this: 9be54f5255f8ed9d53a79260e9bdf565
|
||||
]
|
||||
|
||||
[more work on lambdas
|
||||
robdockins@fastmail.fm**20140226043753
|
||||
Ignore-this: 7f7452670221e2643067a3c7cc180998
|
||||
]
|
||||
|
||||
[use new finprod implementation
|
||||
robdockins@fastmail.fm**20140226043700
|
||||
Ignore-this: c9e05df5fcfd31254ed7318fe693490c
|
||||
]
|
||||
|
||||
[remove old finprod
|
||||
robdockins@fastmail.fm**20140226043642
|
||||
Ignore-this: 2705703a2c782da21a152fbb27c8a972
|
||||
]
|
||||
|
||||
[rearrange the interfact to finprod
|
||||
robdockins@fastmail.fm**20140226043541
|
||||
Ignore-this: c44d7c478948f42b188eb8d06469abbf
|
||||
]
|
||||
|
||||
[fill remaining holes in finprod2
|
||||
robdockins@fastmail.fm**20140225205242
|
||||
Ignore-this: 1eeb9b8beef92790c28918292f2a9cf4
|
||||
]
|
||||
|
||||
[rework some stuff dealing with semidecidable predicates
|
||||
robdockins@fastmail.fm**20140225092149
|
||||
Ignore-this: 32b5ccb2927e08979ea92b9ef67c40f4
|
||||
]
|
||||
|
||||
[lots of work on alpha-congrunce in lambdas
|
||||
robdockins@fastmail.fm**20140225035601
|
||||
Ignore-this: fbbec9dac4cb328ff4e0b25df646e0c7
|
||||
]
|
||||
|
||||
[terminate is universal in PLT
|
||||
robdockins@fastmail.fm**20140225035538
|
||||
Ignore-this: abc6cd1a60578c435bf9ca596d8d0922
|
||||
]
|
||||
|
||||
[new attack on nominal finite products
|
||||
robdockins@fastmail.fm**20140225035516
|
||||
Ignore-this: 3875e713acc6aa5193696612f3ede76d
|
||||
]
|
||||
|
||||
[push forward a little on lambdas
|
||||
robdockins@fastmail.fm**20140221095249
|
||||
Ignore-this: c690a1b03075702e3fd84aac7e268211
|
||||
]
|
||||
|
||||
[update finprod for various changes
|
||||
robdockins@fastmail.fm**20140221095230
|
||||
Ignore-this: a6d787930ed356ae2b0a003af1f4d44
|
||||
]
|
||||
|
||||
[better discrete cases lemma
|
||||
robdockins@fastmail.fm**20140219051301
|
||||
Ignore-this: f0ec88e8207257e7657ced933cf687e7
|
||||
]
|
||||
|
||||
[start working on simply-typed lambdas
|
||||
robdockins@fastmail.fm**20140219051238
|
||||
Ignore-this: 69bea345376ea39cd1addc0849a43077
|
||||
]
|
||||
|
||||
[more messing about with advanced category theory stuff
|
||||
robdockins@fastmail.fm**20140211095003
|
||||
Ignore-this: 9cd3c9d961349e8797f109f716c5f678
|
||||
]
|
||||
|
||||
[minor rearrangements and code motion
|
||||
robdockins@fastmail.fm**20140211041724
|
||||
Ignore-this: 642ad6f1395fde7ecd81e5a905fd5428
|
||||
]
|
||||
|
||||
[some basic bicategory theory
|
||||
robdockins@fastmail.fm**20140210083634
|
||||
Ignore-this: f47a898fa045a397d3ee70e1512b8baa
|
||||
]
|
||||
|
||||
[even more notation futzing
|
||||
robdockins@fastmail.fm**20140209072416
|
||||
Ignore-this: d2061652cb3e80f6994f567a9e677b32
|
||||
]
|
||||
|
||||
[additional notational futzing
|
||||
robdockins@fastmail.fm**20140209043308
|
||||
Ignore-this: ac42cbbc94df227e6d5e70b96ae65fd3
|
||||
]
|
||||
|
||||
[futz around with notations, various other cleanup activities
|
||||
robdockins@fastmail.fm**20140209005551
|
||||
Ignore-this: 3f41a52650aadd956ac490b62e59c1c3
|
||||
]
|
||||
|
||||
[complete adequacy for SKI+Y
|
||||
robdockins@fastmail.fm**20140206050414
|
||||
Ignore-this: f730587ac7a42f3e35740976a1439f2e
|
||||
]
|
||||
|
||||
[minor changes in cpo
|
||||
robdockins@fastmail.fm**20140206014745
|
||||
Ignore-this: 95244704faf1e6c336d62dc7912f9022
|
||||
]
|
||||
|
||||
[push through most of SKI+Y adequacy
|
||||
robdockins@fastmail.fm**20140205214805
|
||||
Ignore-this: dc998ef45f2e919e9373bfa21a5ef8c7
|
||||
]
|
||||
|
||||
[major simplification of the adequacy proof for SKI
|
||||
robdockins@fastmail.fm**20140205185605
|
||||
Ignore-this: f1f0dc46274db05f3393038dfe2775e2
|
||||
]
|
||||
|
||||
[push forward on SKI+Y
|
||||
robdockins@fastmail.fm**20140205044216
|
||||
Ignore-this: daf255aa940b42c1c68ba947a356370d
|
||||
]
|
||||
|
||||
[continue futzing with the LR statement
|
||||
robdockins@fastmail.fm**20140203055601
|
||||
Ignore-this: f5ef9f06d3b1a11d76317b52cec691ab
|
||||
]
|
||||
|
||||
[start pushing on adequacy for SKI+Y
|
||||
robdockins@fastmail.fm**20140202085948
|
||||
Ignore-this: 956844809340fad0c13c19e9fa729b5c
|
||||
]
|
||||
|
||||
[mostly finish soundness for SKI+Y
|
||||
robdockins@fastmail.fm**20140202060633
|
||||
Ignore-this: 4c75fd9eeefa1d6dad6866662abea0fd
|
||||
]
|
||||
|
||||
[start working on a CCL example
|
||||
robdockins@fastmail.fm**20140202020748
|
||||
Ignore-this: 44c5d7854cc19b0f90414c2be6b3df68
|
||||
]
|
||||
|
||||
[make id(A) a parsing-only notation
|
||||
robdockins@fastmail.fm**20140202020724
|
||||
Ignore-this: 68f51f754c0b89e2e815da47b901e4b1
|
||||
]
|
||||
|
||||
[the PLT adjunction is strong monodial
|
||||
robdockins@fastmail.fm**20140202020637
|
||||
Ignore-this: 7b29b9a6a5e8efa07440c528ec12d7bd
|
||||
]
|
||||
|
||||
[fix my broken version of lfp and fixup proofs
|
||||
robdockins@fastmail.fm**20140202020615
|
||||
Ignore-this: 3ac283481318622cbf38378e815a4f09
|
||||
]
|
||||
|
||||
[more work on SKI + Y
|
||||
robdockins@fastmail.fm**20140202020516
|
||||
Ignore-this: d1f63e2ef610c6f93d03806c5426cfa5
|
||||
]
|
||||
|
||||
[start work on SKI + Y
|
||||
robdockins@fastmail.fm**20140201085039
|
||||
Ignore-this: fb7a405830cf90526cddd8ce37f4da40
|
||||
]
|
||||
|
||||
[doc corrections
|
||||
robdockins@fastmail.fm**20140130015908
|
||||
Ignore-this: bca4c04267bfdac8cb202651a0960d92
|
||||
]
|
||||
|
||||
[lots of additional inline documentation
|
||||
robdockins@fastmail.fm**20140129234834
|
||||
Ignore-this: ab2c59add5514f44a898de1f0eece98b
|
||||
]
|
||||
|
||||
[powerdomains form continuous functors in EMBED
|
||||
robdockins@fastmail.fm**20140126234115
|
||||
Ignore-this: d2ee08902f0bdb52efd7f7ce2c594469
|
||||
]
|
||||
|
||||
[complete the powerdomain constructions; build some operations
|
||||
robdockins@fastmail.fm**20140125225202
|
||||
Ignore-this: 9c8f2632df05e84fc3794a338ff8720d
|
||||
]
|
||||
|
||||
[construct the basic powerdomains--still some holes left
|
||||
robdockins@fastmail.fm**20140125064541
|
||||
Ignore-this: c3206d2e1e925096b3e9ff49afacef2f
|
||||
]
|
||||
|
||||
[generalize the lfp construction to a generic chain_sup operation
|
||||
robdockins@fastmail.fm**20140124183103
|
||||
Ignore-this: 4cc2c1011b9f79365dcb7c76784fbfa6
|
||||
]
|
||||
|
||||
[update makefile
|
||||
robdockins@fastmail.fm**20140124073734
|
||||
Ignore-this: a0b7db8383262caa314c21b99e146222
|
||||
]
|
||||
|
||||
[new file for recursive lambda domains
|
||||
robdockins@fastmail.fm**20140124070023
|
||||
Ignore-this: 300c02b4da83b6ebd734aa2ccb21cd2d
|
||||
]
|
||||
|
||||
[more lemmas about antistrict homs
|
||||
robdockins@fastmail.fm**20140124065953
|
||||
Ignore-this: 483c7b350dc3cab59c8ff50e1ac73b8c
|
||||
]
|
||||
|
||||
[fix breakage related to implicit arguments
|
||||
robdockins@fastmail.fm**20140124065805
|
||||
Ignore-this: 561693d3280851299c6a49a2a34546b3
|
||||
]
|
||||
|
||||
[notation tweaks in cpo.v
|
||||
robdockins@fastmail.fm**20140124053800
|
||||
Ignore-this: 83e92d8c14568448074a940ceafbe2c9
|
||||
]
|
||||
|
||||
[add if/then/else to the SKI system
|
||||
robdockins@fastmail.fm**20140124023630
|
||||
Ignore-this: 37a9737932a05393a6338380226ca346
|
||||
]
|
||||
|
||||
[case analysis for finite types
|
||||
robdockins@fastmail.fm**20140124012505
|
||||
Ignore-this: 6ec1076b2a74f5832501a105a28a6dba
|
||||
]
|
||||
|
||||
[finish adequacy proof for SKI
|
||||
robdockins@fastmail.fm**20140123211322
|
||||
Ignore-this: 1fe3e626e33431c27e2aa186b3bf91d2
|
||||
]
|
||||
|
||||
[additional lemmas about domains
|
||||
robdockins@fastmail.fm**20140123090037
|
||||
Ignore-this: fcad2dd816f805b8b5e7d1be3df60db8
|
||||
]
|
||||
|
||||
[most of a proof of adequacy for SKI
|
||||
robdockins@fastmail.fm**20140123085839
|
||||
Ignore-this: d1595c02a6387297018e7f316a3e751
|
||||
]
|
||||
|
||||
[more work on finite products
|
||||
robdockins@fastmail.fm**20140121061158
|
||||
Ignore-this: c2f8212e041478104dd4c81c225b42d5
|
||||
]
|
||||
|
||||
[begin work on a more flexible "finprod" domain
|
||||
robdockins@fastmail.fm**20140119021653
|
||||
Ignore-this: 249718a2c31964733171b21c84d2effb
|
||||
]
|
||||
|
||||
[mess with implicit arguments in categories.v
|
||||
robdockins@fastmail.fm**20140113041450
|
||||
Ignore-this: 314cad9207f706e949bd686aaa5c5e1b
|
||||
]
|
||||
|
||||
[products for CPO, uniformity of lfp
|
||||
robdockins@fastmail.fm**20140113041421
|
||||
Ignore-this: e533abe995e634c732a35e71d66ddb6a
|
||||
]
|
||||
|
||||
[define the LFP in pointed CPOs, prove the Scott induction principle
|
||||
robdockins@fastmail.fm**20140112231843
|
||||
Ignore-this: 2014174b1c6914bef376d614f34d073f
|
||||
]
|
||||
|
||||
[build the forgetful functor from EMBED to PLT
|
||||
robdockins@fastmail.fm**20140110014909
|
||||
Ignore-this: 1dacbfc0383e48f4ab35fe0a5fd11cec
|
||||
]
|
||||
|
||||
[notation changes, prove sum_cases and curry preserve order and equality
|
||||
robdockins@fastmail.fm**20140110014820
|
||||
Ignore-this: d1c6a1d0346a9eba14f3529ac30b5e2f
|
||||
]
|
||||
|
||||
[prove addl facts about pairs, tweak implicit arguments
|
||||
robdockins@fastmail.fm**20140110010319
|
||||
Ignore-this: 9f0af8abc268b2b22d8b5450d6a4136
|
||||
]
|
||||
|
||||
[make 'ob' a coercion
|
||||
robdockins@fastmail.fm**20140110010204
|
||||
Ignore-this: 467c0b0a8b086a7f44bf98875a4380d6
|
||||
]
|
||||
|
||||
[copyright notices
|
||||
robdockins@fastmail.fm**20140106232333
|
||||
Ignore-this: f59bafa0ec99e259bd9b4319f2cdbc67
|
||||
]
|
||||
|
||||
[add ord_dec coercion
|
||||
robdockins@fastmail.fm**20140104052750
|
||||
Ignore-this: 4ed1cacfd27979f0fe518862be5ac27c
|
||||
]
|
||||
|
||||
[define the model for CBV lambda calculus
|
||||
robdockins@fastmail.fm**20140104050626
|
||||
Ignore-this: 88ca796d4697bfebb044d3fae27d6129
|
||||
]
|
||||
|
||||
[proof a fixpoint lemma for unpointed domains
|
||||
robdockins@fastmail.fm**20140103231818
|
||||
Ignore-this: 4939eb02d09b6a4eecf145c887c64393
|
||||
]
|
||||
|
||||
[prove that the adjoint functors between PLT and PPLT extend to continuous functors in EMBED
|
||||
robdockins@fastmail.fm**20140103000915
|
||||
Ignore-this: 54da0101f581731ebe512ed514e0603e
|
||||
]
|
||||
|
||||
[notation changes for PLT
|
||||
robdockins@fastmail.fm**20140102234446
|
||||
Ignore-this: ad1f82f22d1bf0e057f11c3508a81716
|
||||
]
|
||||
|
||||
[move embeddings into their own file; pull TPLT and PPLT into profinite.v
|
||||
robdockins@fastmail.fm**20140102234424
|
||||
Ignore-this: 3704996af47ae32415ba3e539d67cf5c
|
||||
]
|
||||
|
||||
[Show that PLT is cocartesian; rearrange proof that EMBED(true) is terminated
|
||||
robdockins@fastmail.fm**20140102213805
|
||||
Ignore-this: 3470df6910e7a3e4bda478c0c6ecea62
|
||||
]
|
||||
|
||||
[remove unnecessary "inh" hypothesis in the definition of Plotkin order; fixup the fallout
|
||||
robdockins@fastmail.fm**20140102213646
|
||||
Ignore-this: b6a5ad59296f938b377d71852120d48b
|
||||
]
|
||||
|
||||
[move proofs that empty and unit preorders are effective plotkin
|
||||
robdockins@fastmail.fm**20140102205530
|
||||
Ignore-this: 7324843510fd938d356aa82003c9ec68
|
||||
]
|
||||
|
||||
[make epi/mono/iso morphisms into categories
|
||||
robdockins@fastmail.fm**20131228082442
|
||||
Ignore-this: ee75a2b6eb1f3d6fa47f17d6734e5015
|
||||
]
|
||||
|
||||
[define the cocartesian and distributive categories
|
||||
robdockins@fastmail.fm**20131226001612
|
||||
Ignore-this: 11e9d8a88bef42bcb800b31d85d28d16
|
||||
]
|
||||
|
||||
[remove uses of maximally implict arguments
|
||||
robdockins@fastmail.fm**20131226001536
|
||||
Ignore-this: c0d93a5398aea58cbcc4fbbca3b59b17
|
||||
]
|
||||
|
||||
[fixpoints and binary sums for NOMINAL
|
||||
robdockins@fastmail.fm**20131121092931
|
||||
Ignore-this: 8a660dfe2ab16a8208ae559dcf2b7ed0
|
||||
]
|
||||
|
||||
[modify bilimit.v to use the general construction from cont_functors.v
|
||||
robdockins@fastmail.fm**20131120075848
|
||||
Ignore-this: 17ea36107ade1646eab5c99aec3561a9
|
||||
]
|
||||
|
||||
[generic fixpoint construction for categories with initial objects and directed colimits
|
||||
robdockins@fastmail.fm**20131119092522
|
||||
Ignore-this: 25674dff855a1cecdb4ee919f8bf3a5d
|
||||
]
|
||||
|
||||
[remove some irritating unit parameters, fix doc typos
|
||||
robdockins@fastmail.fm**20131118093204
|
||||
Ignore-this: 38342d58567d8a13471620d5b7c2b7d4
|
||||
]
|
||||
|
||||
[improvements to categories; complete some constructions in nominal
|
||||
robdockins@fastmail.fm**20131118085737
|
||||
Ignore-this: e58cb49a01d0210dabdb021250910adb
|
||||
]
|
||||
|
||||
[build fixes
|
||||
robdockins@fastmail.fm**20131113004305
|
||||
Ignore-this: 5abffcd1d6b44f816749c5e0cfd5b6e9
|
||||
]
|
||||
|
||||
[Documentation additions
|
||||
robdockins@fastmail.fm**20131113004254
|
||||
Ignore-this: 79a913d3a8652866f3fdc64891f6304d
|
||||
]
|
||||
|
||||
[lots of inline documentation additions
|
||||
robdockins@fastmail.fm**20131112192736
|
||||
Ignore-this: 6aa38112c10ceed3bf43e35dbda98312
|
||||
]
|
||||
|
||||
[update makefiles
|
||||
robdockins@fastmail.fm**20131112192706
|
||||
Ignore-this: d834beaa532cdf994cfa0a0b5a562e4f
|
||||
]
|
||||
|
||||
[continuous functors for binary sum and products
|
||||
robdockins@fastmail.fm**20131112192605
|
||||
Ignore-this: 61520e6e315df909465a02f854816366
|
||||
]
|
||||
|
||||
[add the category of nominal types
|
||||
robdockins@fastmail.fm**20131112192520
|
||||
Ignore-this: f0351c5eb0bdacdfe192a6863d9c0bc6
|
||||
]
|
||||
|
||||
[split the proof that expF is a continuous functor into a separate file; rearrange some defintions
|
||||
robdockins@fastmail.fm**20130924013328
|
||||
Ignore-this: 4eacee37bb6474d1bdfffe416b98b4c1
|
||||
]
|
||||
|
||||
[rearrange definitions of continuous functors. Prove enough plumbing to build the model: D = D->D
|
||||
robdockins@fastmail.fm**20130924002837
|
||||
Ignore-this: a66f9e8833601e244048b70e8bfaab96
|
||||
]
|
||||
|
||||
[show that the function space is a continuous functor; other junk
|
||||
robdockins@fastmail.fm**20130923060521
|
||||
Ignore-this: d8f406450688c633ebc1fe1eb0343c91
|
||||
]
|
||||
|
||||
[some name changes, other cosmetic fixes
|
||||
robdockins@fastmail.fm**20130909043234
|
||||
Ignore-this: cdd24d1c96a34fb3573c1806153df9fb
|
||||
]
|
||||
|
||||
[additional cosmetic changes and rearrangements
|
||||
robdockins@fastmail.fm**20130909020137
|
||||
Ignore-this: 77d28bc9452f6c93915194033118dab7
|
||||
]
|
||||
|
||||
[reorganize profinite code
|
||||
robdockins@fastmail.fm**20130909011437
|
||||
Ignore-this: 8511bf92ca6998ff8c69d5537624bdb8
|
||||
]
|
||||
|
||||
[cosmetic changes
|
||||
robdockins@fastmail.fm**20130908183909
|
||||
Ignore-this: e19039701e58fd26ca4eab79d7b49d14
|
||||
]
|
||||
|
||||
[complete the bilimit construction, show how to take fixpoints of continuous functors
|
||||
robdockins@fastmail.fm**20130908175228
|
||||
Ignore-this: 82feab8fdc0c944f13d91605c6a8e571
|
||||
]
|
||||
|
||||
[find a MUCH easier path to a bilimit construction
|
||||
robdockins@fastmail.fm**20130907012151
|
||||
Ignore-this: fcc72ad140b045ef37e4b03ad38a8fb0
|
||||
]
|
||||
|
||||
[lots of progress, mostly on defining bilimits
|
||||
robdockins@fastmail.fm**20130905204959
|
||||
Ignore-this: abf4bcf03a49fa009f9fb2200ee3abf2
|
||||
]
|
||||
|
||||
[start working on the theory of finite preorders, which form a basis for plokin orders
|
||||
robdockins@fastmail.fm**20130812054451
|
||||
Ignore-this: 5be36257a8fdf486bcc31f587d93c457
|
||||
]
|
||||
|
||||
[parameterize plotkin orders, build category PPLT
|
||||
robdockins@fastmail.fm**20130811063623
|
||||
Ignore-this: 3f273841bc72098acee0fd618627dbd5
|
||||
]
|
||||
|
||||
[complete the details showing PLT is cartesian closed
|
||||
robdockins@fastmail.fm**20130809230336
|
||||
Ignore-this: 13fd1b5a8172dd263cf655421f7584f7
|
||||
]
|
||||
|
||||
[add files missed in the first import
|
||||
robdockins@fastmail.fm**20130809080742
|
||||
Ignore-this: 6b59cce866a486d70559f7c80fe99053
|
||||
]
|
||||
|
||||
[initial import of development
|
||||
robdockins@fastmail.fm**20130809080409
|
||||
Ignore-this: 44cb5a0df2f1643d289f07dcd4227cbf
|
||||
First major steps toward a fully effective and usable formalized
|
||||
domain theory. We formalize the plotkin preorders and show that
|
||||
they form a cartesian closed category.
|
||||
]
|
|
@ -1,26 +0,0 @@
|
|||
{stdenv, fetchdarcs, coq}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
name = "coq-domains-${coq.coq-version}-${version}";
|
||||
version = "ce1a9806";
|
||||
|
||||
src = fetchdarcs {
|
||||
url = http://hub.darcs.net/rdockins/domains;
|
||||
context = ./darcs_context;
|
||||
sha256 = "0zdqiw08b453i8gdxwbk7nia2dv2r3pncmxsvgr0kva7f3dn1rnc";
|
||||
};
|
||||
|
||||
buildInputs = [ coq.ocaml coq.camlp5 ];
|
||||
propagatedBuildInputs = [ coq ];
|
||||
|
||||
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://rwd.rdockins.name/domains/;
|
||||
description = "A Coq library for domain theory";
|
||||
maintainers = with maintainers; [ jwiegley ];
|
||||
platforms = coq.meta.platforms;
|
||||
};
|
||||
|
||||
}
|
|
@ -1,41 +0,0 @@
|
|||
{stdenv, fetchurl, coq}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
name = "coq-fiat-${coq.coq-version}-${version}";
|
||||
version = "20141031";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://plv.csail.mit.edu/fiat/releases/fiat-${version}.tar.gz";
|
||||
sha256 = "0c5jrcgbpdj0gfzg2q4naqw7frf0xxs1f451fnic6airvpaj0d55";
|
||||
};
|
||||
|
||||
buildInputs = [ coq.ocaml coq.camlp5 ];
|
||||
propagatedBuildInputs = [ coq ];
|
||||
|
||||
enableParallelBuilding = false;
|
||||
doCheck = !stdenv.isi686;
|
||||
|
||||
unpackPhase = ''
|
||||
mkdir fiat
|
||||
cd fiat
|
||||
tar xvzf ${src}
|
||||
'';
|
||||
|
||||
buildPhase = "make -j$NIX_BUILD_CORES sources";
|
||||
checkPhase = "make -j$NIX_BUILD_CORES examples";
|
||||
|
||||
installPhase = ''
|
||||
COQLIB=$out/lib/coq/${coq.coq-version}/
|
||||
mkdir -p $COQLIB/user-contrib/Fiat
|
||||
cp -pR src/* $COQLIB/user-contrib/Fiat
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://plv.csail.mit.edu/fiat/;
|
||||
description = "A library for the Coq proof assistant for synthesizing efficient correct-by-construction programs from declarative specifications";
|
||||
maintainers = with maintainers; [ jwiegley ];
|
||||
platforms = coq.meta.platforms;
|
||||
};
|
||||
|
||||
}
|
|
@ -1,24 +1,12 @@
|
|||
{ stdenv, fetchurl, which, coq, coquelicot, flocq, mathcomp
|
||||
, bignums ? null }:
|
||||
|
||||
let param =
|
||||
if stdenv.lib.versionAtLeast coq.coq-version "8.5"
|
||||
then {
|
||||
version = "3.3.0";
|
||||
url = "https://gforge.inria.fr/frs/download.php/file/37077/interval-3.3.0.tar.gz";
|
||||
sha256 = "08fdcf3hbwqphglvwprvqzgkg0qbimpyhnqsgv3gac4y1ap0f903";
|
||||
} else {
|
||||
version = "3.1.1";
|
||||
url = "https://gforge.inria.fr/frs/download.php/file/36723/interval-3.1.1.tar.gz";
|
||||
sha256 = "1sqsf075c7s98mwi291bhnrv5fgd7brrqrzx51747394hndlvfw3";
|
||||
};
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "coq${coq.coq-version}-interval-${param.version}";
|
||||
name = "coq${coq.coq-version}-interval-3.3.0";
|
||||
|
||||
src = fetchurl {
|
||||
inherit (param) url sha256;
|
||||
url = "https://gforge.inria.fr/frs/download.php/file/37077/interval-3.3.0.tar.gz";
|
||||
sha256 = "08fdcf3hbwqphglvwprvqzgkg0qbimpyhnqsgv3gac4y1ap0f903";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ which ];
|
||||
|
|
|
@ -2,12 +2,6 @@
|
|||
|
||||
let param =
|
||||
{
|
||||
"8.4" = {
|
||||
version = "1.6.1";
|
||||
url = https://github.com/math-comp/math-comp/archive/mathcomp-1.6.1.tar.gz;
|
||||
sha256 = "1j9ylggjzrxz1i2hdl2yhsvmvy5z6l4rprwx7604401080p5sgjw";
|
||||
};
|
||||
|
||||
"8.5" = {
|
||||
version = "1.6.1";
|
||||
url = https://github.com/math-comp/math-comp/archive/mathcomp-1.6.1.tar.gz;
|
||||
|
|
|
@ -2,12 +2,6 @@
|
|||
|
||||
let param =
|
||||
{
|
||||
"8.4" = {
|
||||
version = "1.6.1";
|
||||
url = https://github.com/math-comp/math-comp/archive/mathcomp-1.6.1.tar.gz;
|
||||
sha256 = "1j9ylggjzrxz1i2hdl2yhsvmvy5z6l4rprwx7604401080p5sgjw";
|
||||
};
|
||||
|
||||
"8.5" = {
|
||||
version = "1.6.1";
|
||||
url = https://github.com/math-comp/math-comp/archive/mathcomp-1.6.1.tar.gz;
|
||||
|
|
|
@ -1,38 +0,0 @@
|
|||
{stdenv, fetchsvn, coq}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
||||
name = "coq-tlc-${coq.coq-version}";
|
||||
|
||||
src = fetchsvn {
|
||||
url = svn://scm.gforge.inria.fr/svn/tlc/branches/v3.1;
|
||||
rev = 240;
|
||||
sha256 = "0mjnb6n9wzb13y2ix9cvd6irzd9d2gj8dcm2x71wgan0jcskxadm";
|
||||
};
|
||||
|
||||
buildInputs = [ coq.ocaml coq.camlp5 ];
|
||||
propagatedBuildInputs = [ coq ];
|
||||
|
||||
preConfigure = ''
|
||||
patch Makefile <<EOF
|
||||
105c105
|
||||
< \$(COQC) \$<
|
||||
---
|
||||
> \$(COQC) -R . Tlc \$<
|
||||
EOF
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
COQLIB=$out/lib/coq/${coq.coq-version}/
|
||||
mkdir -p $COQLIB/user-contrib/Tlc
|
||||
cp -p *.vo $COQLIB/user-contrib/Tlc
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.chargueraud.org/softs/tlc/;
|
||||
description = "A general purpose Coq library that provides an alternative to Coq's standard library";
|
||||
maintainers = with maintainers; [ jwiegley ];
|
||||
platforms = coq.meta.platforms;
|
||||
};
|
||||
|
||||
}
|
|
@ -1,26 +0,0 @@
|
|||
{stdenv, fetchgit, coq}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
name = "coq-unimath-${coq.coq-version}-${version}";
|
||||
version = "a2714eca";
|
||||
|
||||
src = fetchgit {
|
||||
url = git://github.com/UniMath/UniMath.git;
|
||||
rev = "a2714eca29444a595cd280ea961ec33d17712009";
|
||||
sha256 = "0v7dlyipr6bhwgp9v366nxdan018acafh13pachnjkgzzpsjnr7g";
|
||||
};
|
||||
|
||||
buildInputs = [ coq.ocaml coq.camlp5 ];
|
||||
propagatedBuildInputs = [ coq ];
|
||||
|
||||
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/UniMath/UniMath;
|
||||
description = "A formalization of a substantial body of mathematics using the univalent point of view";
|
||||
maintainers = with maintainers; [ jwiegley ];
|
||||
platforms = coq.meta.platforms;
|
||||
};
|
||||
|
||||
}
|
|
@ -1,32 +0,0 @@
|
|||
{stdenv, fetchgit, coq}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
name = "coq-ynot-${coq.coq-version}-${version}";
|
||||
version = "ce1a9806";
|
||||
|
||||
src = fetchgit {
|
||||
url = git://github.com/Ptival/ynot.git;
|
||||
rev = "ce1a9806c26ffc6e7def41da50a9aac1433cb2f8";
|
||||
sha256 = "1pcmcl5zamiimkcg1xvynxnfbv439y02vg1mnz79hqq9mnjyfnpw";
|
||||
};
|
||||
|
||||
buildInputs = [ coq.ocaml coq.camlp5 ];
|
||||
propagatedBuildInputs = [ coq ];
|
||||
|
||||
preBuild = "cd src";
|
||||
|
||||
installPhase = ''
|
||||
COQLIB=$out/lib/coq/${coq.coq-version}/
|
||||
mkdir -p $COQLIB/user-contrib/Ynot
|
||||
cp -pR coq/*.vo $COQLIB/user-contrib/Ynot
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://ynot.cs.harvard.edu/;
|
||||
description = "A library for writing and verifying imperative programs";
|
||||
maintainers = with maintainers; [ jwiegley ];
|
||||
platforms = coq.meta.platforms;
|
||||
};
|
||||
|
||||
}
|
|
@ -509,6 +509,21 @@ self: super: {
|
|||
preConfigure = "sed -i -e 's,time .* < 1.6,time >= 1.5,' -e 's,haddock-library >= 1.1 && < 1.3,haddock-library >= 1.1,' pandoc.cabal";
|
||||
});
|
||||
|
||||
# pandoc 2 dependency resolution
|
||||
hslua_0_9_3 = super.hslua_0_9_3.override { lua5_1 = pkgs.lua5_3; };
|
||||
hslua-module-text = super.hslua-module-text.override { hslua = self.hslua_0_9_3; };
|
||||
texmath_0_10 = super.texmath_0_10.override { pandoc-types = self.pandoc-types_1_17_3; };
|
||||
pandoc_2_0_4 = super.pandoc_2_0_4.override {
|
||||
doctemplates = self.doctemplates_0_2_1;
|
||||
pandoc-types = self.pandoc-types_1_17_3;
|
||||
skylighting = self.skylighting_0_4_4_1;
|
||||
texmath = self.texmath_0_10;
|
||||
};
|
||||
pandoc-citeproc_0_12_1 = super.pandoc-citeproc_0_12_1.override {
|
||||
pandoc = self.pandoc_2_0_4;
|
||||
pandoc-types = self.pandoc-types_1_17_3;
|
||||
};
|
||||
|
||||
# https://github.com/tych0/xcffib/issues/37
|
||||
xcffib = dontCheck super.xcffib;
|
||||
|
||||
|
@ -984,4 +999,21 @@ self: super: {
|
|||
libraryToolDepends = drv.libraryToolDepends or [] ++ [pkgs.postgresql];
|
||||
testToolDepends = drv.testToolDepends or [] ++ [pkgs.procps];
|
||||
});
|
||||
|
||||
# Newer hpack's needs newer HUnit, but we cannot easily override the version
|
||||
# used in the build, so we take the easy way out and disable the test suite.
|
||||
hpack_0_20_0 = dontCheck super.hpack_0_20_0;
|
||||
hpack_0_21_0 = dontCheck super.hpack_0_21_0;
|
||||
|
||||
# Stack 1.6.1 needs newer versions than LTS-9 provides.
|
||||
stack = super.stack.overrideScope (self: super: {
|
||||
ansi-terminal = self.ansi-terminal_0_7_1_1;
|
||||
ansi-wl-pprint = self.ansi-wl-pprint_0_6_8_1;
|
||||
extra = dontCheck super.extra_1_6_2;
|
||||
hpack = super.hpack_0_20_0;
|
||||
path = dontCheck super.path_0_6_1;
|
||||
path-io = self.path-io_1_3_3;
|
||||
unliftio = self.unliftio_0_2_0_0;
|
||||
});
|
||||
|
||||
}
|
||||
|
|
|
@ -62,4 +62,7 @@ self: super: {
|
|||
# This builds needs the latest Cabal version.
|
||||
cabal2nix = super.cabal2nix.overrideScope (self: super: { Cabal = self.Cabal_2_0_1_1; });
|
||||
|
||||
# Add appropriate Cabal library to build this code.
|
||||
stack = addSetupDepend super.stack self.Cabal_2_0_1_1;
|
||||
|
||||
}
|
||||
|
|
|
@ -37,7 +37,7 @@ core-packages:
|
|||
- ghcjs-base-0
|
||||
|
||||
default-package-overrides:
|
||||
# LTS Haskell 9.16
|
||||
# LTS Haskell 9.17
|
||||
- abstract-deque ==0.3
|
||||
- abstract-deque-tests ==0.3
|
||||
- abstract-par ==0.3.3
|
||||
|
@ -1299,6 +1299,7 @@ default-package-overrides:
|
|||
- language-javascript ==0.6.0.10
|
||||
- language-lua2 ==0.1.0.5
|
||||
- language-puppet ==1.3.8.1
|
||||
- language-python ==0.5.4
|
||||
- language-thrift ==0.10.0.0
|
||||
- largeword ==1.2.5
|
||||
- latex ==0.1.0.3
|
||||
|
@ -2271,8 +2272,8 @@ default-package-overrides:
|
|||
- union-find ==0.2
|
||||
- uniplate ==1.6.12
|
||||
- uniq-deep ==1.1.0.0
|
||||
- unique ==0
|
||||
- Unique ==0.4.7.1
|
||||
- unique ==0
|
||||
- unit-constraint ==0.0.0
|
||||
- units ==2.4
|
||||
- units-defs ==2.0.1.1
|
||||
|
@ -2538,7 +2539,8 @@ extra-packages:
|
|||
- haddock-library == 1.2.* # required for haddock-api-2.16.x
|
||||
- happy <1.19.6 # newer versions break Agda
|
||||
- haskell-gi-overloading == 0.0 # gi-* packages use this dependency to disable overloading support
|
||||
- haskell-src-exts == 1.18.* # required by hoogle-5.0.4
|
||||
- haskell-src-exts == 1.19.* # required by hindent and structured-haskell-mode
|
||||
- hpack == 0.20.* # required by stack-1.6.1
|
||||
- language-c == 0.7.0 # required by c2hs hack to work around https://github.com/haskell/c2hs/issues/192.
|
||||
- mtl < 2.2 # newer versions require transformers > 0.4.x, which we cannot provide in GHC 7.8.x
|
||||
- mtl-prelude < 2 # required for to build postgrest on mtl 2.1.x platforms
|
||||
|
@ -2888,10 +2890,12 @@ dont-distribute-packages:
|
|||
angel: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
angle: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
Animas: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
animate-example: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
animate: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
annah: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
Annotations: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
anonymous-sums-tests: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
ansi-escape-codes: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
antagonist: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
antfarm: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
anticiv: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
|
@ -3455,6 +3459,7 @@ dont-distribute-packages:
|
|||
clash: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
ClassLaws: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
classy-parallel: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
classyplate: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
ClassyPrelude: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
clckwrks-cli: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
clckwrks-dot-com: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
|
@ -3610,6 +3615,7 @@ dont-distribute-packages:
|
|||
console-program: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
const-math-ghc-plugin: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
constrained-monads: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
constraint: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
ConstraintKinds: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
constructive-algebra: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
consul-haskell: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
|
@ -3687,6 +3693,7 @@ dont-distribute-packages:
|
|||
craze: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
crc16: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
crc: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
crdt: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
creatur: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
credential-store: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
credentials-cli: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
|
@ -3943,6 +3950,7 @@ dont-distribute-packages:
|
|||
discordian-calendar: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
DiscussionSupportSystem: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
Dish: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
disjoint-containers: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
disjoint-set: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
diskhash: [ "x86_64-darwin" ]
|
||||
Dist: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
|
@ -3979,6 +3987,7 @@ dont-distribute-packages:
|
|||
doc-review: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
doccheck: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
docidx: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
docker-build-cacher: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
docker: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
dockercook: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
doctest-discover-configurator: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
|
@ -4090,6 +4099,7 @@ dont-distribute-packages:
|
|||
eigen: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
EitherT: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
ekg-log: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
ekg-prometheus-adapter: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
ekg-push: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
ekg-rrd: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
elerea-examples: [ "x86_64-darwin" ]
|
||||
|
@ -4290,6 +4300,7 @@ dont-distribute-packages:
|
|||
Finance-Treasury: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
find-conduit: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
FiniteMap: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
firefly-example: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
first-and-last: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
firstify: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
FirstOrderTheory: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
|
@ -4331,6 +4342,8 @@ dont-distribute-packages:
|
|||
flower: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
flowlocks-framework: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
flowsim: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
fluffy-parser: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
fluffy: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
fluidsynth: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
FM-SBLEX: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
fmark: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
|
@ -5098,6 +5111,7 @@ dont-distribute-packages:
|
|||
heukarya: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
hevolisa-dph: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
hevolisa: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
hexchat: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
hexif: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
hexml-lens: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
hexpat-iteratee: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
|
@ -5262,6 +5276,7 @@ dont-distribute-packages:
|
|||
hobbes: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
hobbits: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
hocilib: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
hocker: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
hodatime: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
HODE: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
Hoed: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
|
@ -5387,6 +5402,7 @@ dont-distribute-packages:
|
|||
hsbencher-codespeed: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
hsbencher-fusion: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
hsbencher: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
hsc3-auditor: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
hsc3-cairo: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
hsc3-data: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
hsc3-db: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
|
@ -5459,6 +5475,7 @@ dont-distribute-packages:
|
|||
hspec-jenkins: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
hspec-monad-control: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
hspec-pg-transact: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
hspec-setup: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
hspec-shouldbe: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
hspec-snap: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
hspec-test-sandbox: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
|
@ -5611,6 +5628,7 @@ dont-distribute-packages:
|
|||
idempotent: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
idiii: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
idna2008: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
idris: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
IDynamic: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
ieee-utils: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
iException: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
|
@ -5932,6 +5950,7 @@ dont-distribute-packages:
|
|||
language-c-comments: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
language-c-inline: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
language-conf: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
language-dockerfile: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
language-eiffel: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
language-elm: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
language-gcl: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
|
@ -5995,6 +6014,7 @@ dont-distribute-packages:
|
|||
lenses: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
lensref: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
lenz-template: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
lenz: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
Level0: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
leveldb-haskell-fork: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
leveldb-haskell: [ "x86_64-darwin" ]
|
||||
|
@ -6099,6 +6119,7 @@ dont-distribute-packages:
|
|||
llvm-general-pure: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
llvm-general-quote: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
llvm-general: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
llvm-hs-pretty: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
llvm-hs: [ "x86_64-darwin" ]
|
||||
llvm-ht: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
llvm-tf: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
|
@ -6106,6 +6127,7 @@ dont-distribute-packages:
|
|||
llvm: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
lmdb-high-level: [ "x86_64-darwin" ]
|
||||
lmdb-simple: [ "x86_64-darwin" ]
|
||||
lmdb-simple: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
lmdb: [ "x86_64-darwin" ]
|
||||
lmonad-yesod: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
lmonad: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
|
@ -6285,6 +6307,7 @@ dont-distribute-packages:
|
|||
mercury-api: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
merge-bash-history: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
merkle-patricia-db: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
merkle-tree: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
messente: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
meta-misc: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
meta-par-accelerate: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
|
@ -6306,6 +6329,7 @@ dont-distribute-packages:
|
|||
microformats2-types: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
microlens-each: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
micrologger: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
microsoft-translator: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
MicrosoftTranslator: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
mida: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
midair: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
|
@ -6820,6 +6844,7 @@ dont-distribute-packages:
|
|||
peakachu: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
PeanoWitnesses: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
pec: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
pedersen-commitment: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
peg: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
peggy: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
pell: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
|
@ -6970,6 +6995,7 @@ dont-distribute-packages:
|
|||
posix-waitpid: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
postcodes: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
postgres-embedded: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
postgres-websockets: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
postgresql-named: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
postgresql-orm: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
postgresql-query: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
|
@ -6985,6 +7011,9 @@ dont-distribute-packages:
|
|||
postmark-streams: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
postmark: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
potato-tool: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
potoki-cereal: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
potoki-core: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
potoki: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
powermate: [ "x86_64-darwin" ]
|
||||
powerpc: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
powerqueue-levelmem: [ "x86_64-darwin" ]
|
||||
|
@ -7027,6 +7056,7 @@ dont-distribute-packages:
|
|||
procrastinating-variable: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
procstat: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
producer: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
product: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
prof2dot: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
prof2pretty: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
progress: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
|
@ -7039,6 +7069,7 @@ dont-distribute-packages:
|
|||
prolog-graph: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
prolog: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
prologue: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
prometheus: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
promise: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
propane: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
Proper: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
|
@ -7089,6 +7120,7 @@ dont-distribute-packages:
|
|||
pyffi: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
pyfi: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
python-pickle: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
q4c12-twofinger: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
qc-oi-testgenerator: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
qd-vec: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
qd: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
|
@ -7118,6 +7150,7 @@ dont-distribute-packages:
|
|||
quick-schema: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
QuickAnnotate: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
quickbooks: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
quickcheck-classes: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
quickcheck-poly: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
quickcheck-property-comb: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
quickcheck-property-monad: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
|
@ -7370,6 +7403,7 @@ dont-distribute-packages:
|
|||
RNAFoldProgs: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
RNAwolf: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
rncryptor: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
rob: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
robot: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
robots-txt: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
roc-cluster-demo: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
|
@ -7560,6 +7594,7 @@ dont-distribute-packages:
|
|||
servant-github: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
servant-haxl-client: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
servant-jquery: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
servant-match: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
servant-matrix-param: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
servant-pandoc: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
servant-pool: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
|
@ -8158,6 +8193,7 @@ dont-distribute-packages:
|
|||
time-exts: [ "x86_64-darwin" ]
|
||||
time-http: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
time-io-access: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
time-machine: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
time-patterns: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
time-recurrence: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
time-series: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
|
@ -8438,6 +8474,7 @@ dont-distribute-packages:
|
|||
views: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
vigilance: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
Villefort: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
vimeta: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
vimus: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
vintage-basic: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
vinyl-json: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
|
@ -8656,6 +8693,8 @@ dont-distribute-packages:
|
|||
xml-tydom-conduit: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
xml2json: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
xml2x: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
xmlbf-xeno: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
xmlbf-xmlhtml: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
xmlhtml: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
XmlHtmlWriter: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
xmltv: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
|
@ -8779,6 +8818,8 @@ dont-distribute-packages:
|
|||
york-lava: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
yql: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
yst: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
yu-core: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
yu-launch: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
yuiGrid: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
yuuko: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
zabt: [ i686-linux, x86_64-linux, x86_64-darwin ]
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
src = fetchurl {
|
||||
url = "${meta.homepage}/src/gstreamer-editing-services/${name}.tar.xz";
|
||||
sha256 = "0bi0f487949k9xnl1r6ngysgaibmmswwgdqcrchg0dixnnbm9isr";
|
||||
sha256 = "0xjz8r0wbzc0kwi9q8akv7w71ii1n2y2dmb0q2p5k4h78382ybh3";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
|
|
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
src = fetchurl {
|
||||
url = "${meta.homepage}/src/gstreamer-vaapi/gstreamer-vaapi-${version}.tar.xz";
|
||||
sha256 = "0fhncs27hcdcnb9a4prkxlyvr883hnzsx148zzk7lg2b8zh19ir3";
|
||||
sha256 = "0kbl2c4zv004qwhm9mc0jlhz2pc3dqrng2vwj68a81lnzpcazkgl";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
|
|
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
src = fetchurl {
|
||||
url = "${meta.homepage}/src/gst-validate/${name}.tar.xz";
|
||||
sha256 = "1pgycs35bwmp4aicyxwyzlfy1i5l2rzmh2a8ivhgy21azp8jaykb";
|
||||
sha256 = "17j812pkzgbyn9ys3b305yl5mrf9nbm8whwj4iqdskr742fr8fai";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
|
|
@ -1,22 +1,83 @@
|
|||
{ stdenv, fetchurl, unzip }:
|
||||
{ stdenv, fetchurl, unzip, jre }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "saxon-6.5.3";
|
||||
builder = ./unzip-builder.sh;
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/saxon/saxon6_5_3.zip;
|
||||
sha256 = "0l5y3y2z4wqgh80f26dwwxwncs8v3nkz3nidv14z024lmk730vs3";
|
||||
let
|
||||
common = { pname, version, src, description
|
||||
, prog ? null, jar ? null, license ? stdenv.lib.licenses.mpl20 }:
|
||||
stdenv.mkDerivation {
|
||||
name = "${pname}-${version}";
|
||||
inherit pname version src;
|
||||
|
||||
nativeBuildInputs = [ unzip ];
|
||||
|
||||
buildCommand = let
|
||||
prog' = if prog == null then pname else prog;
|
||||
jar' = if jar == null then pname else jar;
|
||||
in ''
|
||||
unzip $src -d $out
|
||||
mkdir -p $out/bin $out/share $out/share/java
|
||||
cp -s "$out"/*.jar "$out/share/java/" # */
|
||||
rm -rf $out/notices
|
||||
mv $out/doc $out/share
|
||||
cat > $out/bin/${prog'} <<EOF
|
||||
#! $shell
|
||||
export JAVA_HOME=${jre}
|
||||
exec ${jre}/bin/java -jar $out/${jar'}.jar "\$@"
|
||||
EOF
|
||||
chmod a+x $out/bin/${prog'}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
inherit description license;
|
||||
homepage = http://saxon.sourceforge.net/;
|
||||
maintainers = with maintainers; [ rvl ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
};
|
||||
|
||||
in {
|
||||
saxon = common {
|
||||
pname = "saxon";
|
||||
version = "6.5.3";
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/saxon/saxon6_5_3.zip;
|
||||
sha256 = "0l5y3y2z4wqgh80f26dwwxwncs8v3nkz3nidv14z024lmk730vs3";
|
||||
};
|
||||
description = "XSLT 1.0 processor";
|
||||
# http://saxon.sourceforge.net/saxon6.5.3/conditions.html
|
||||
license = stdenv.lib.licenses.mpl10;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ unzip ];
|
||||
saxonb_8_8 = common {
|
||||
pname = "saxonb";
|
||||
version = "8.8";
|
||||
jar = "saxon8";
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/saxon/saxonb8-8j.zip;
|
||||
sha256 = "15bzrfyd2f1045rsp9dp4znyhmizh1pm97q8ji2bc0b43q23xsb8";
|
||||
};
|
||||
description = "Complete and conformant processor of XSLT 2.0, XQuery 1.0, and XPath 2.0";
|
||||
};
|
||||
|
||||
# still leaving in root as well, in case someone is relying on that
|
||||
preFixup = ''
|
||||
mkdir -p "$out/share/java"
|
||||
cp -s "$out"/*.jar "$out/share/java/"
|
||||
'';
|
||||
saxonb_9_1 = common {
|
||||
pname = "saxonb";
|
||||
version = "9.1.0.8";
|
||||
jar = "saxon9";
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/saxon/Saxon-B/9.1.0.8/saxonb9-1-0-8j.zip;
|
||||
sha256 = "1d39jdnwr3v3pzswm81zry6yikqlqy9dp2l2wmpqdiw00r5drg4j";
|
||||
};
|
||||
description = "Complete and conformant processor of XSLT 2.0, XQuery 1.0, and XPath 2.0";
|
||||
};
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
saxon-he = common {
|
||||
pname = "saxon-he";
|
||||
version = "9.8.0.6";
|
||||
prog = "saxon-he";
|
||||
jar = "saxon9he";
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/saxon/Saxon-HE/9.8/SaxonHE9-8-0-6J.zip;
|
||||
sha256 = "03r4djm298rxz8q7jph63h9niglrl3rifxskq1b3bclx5rgxi2lk";
|
||||
};
|
||||
description = "Processor for XSLT 3.0, XPath 2.0 and 3.1, and XQuery 3.1";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,26 +0,0 @@
|
|||
{stdenv, fetchurl, unzip, jre}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "saxonb-8.8";
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/saxon/saxonb8-8j.zip;
|
||||
sha256 = "15bzrfyd2f1045rsp9dp4znyhmizh1pm97q8ji2bc0b43q23xsb8";
|
||||
};
|
||||
|
||||
buildInputs = [unzip];
|
||||
|
||||
buildCommand = "
|
||||
unzip $src -d $out
|
||||
mkdir -p $out/bin
|
||||
cat > $out/bin/saxon8 <<EOF
|
||||
#! $shell
|
||||
export JAVA_HOME=${jre}
|
||||
exec ${jre}/bin/java -jar $out/saxon8.jar \"\\$@\"
|
||||
EOF
|
||||
chmod a+x $out/bin/saxon8
|
||||
";
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
};
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
source $stdenv/setup
|
||||
|
||||
unzip $src -d $out
|
||||
|
||||
fixupPhase
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
{ stdenv, lib, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "libcerf-1.5";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://apps.jcns.fz-juelich.de/src/libcerf/libcerf-1.5.tgz";
|
||||
sha256 = "11jwr8ql4a9kmv04ycgwk4dsqnlv4l65a8aa0x1i3y7zwx3w2vg3";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Complex error (erf), Dawson, Faddeeva, and Voigt function library";
|
||||
homepage = http://apps.jcns.fz-juelich.de/doku/sc/libcerf;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ orivej ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
|
@ -1,16 +1,13 @@
|
|||
{stdenv, fetchurl, zlib, openssl}:
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.5.1";
|
||||
version = "0.5.6";
|
||||
name = "libre-${version}";
|
||||
src=fetchurl {
|
||||
src = fetchurl {
|
||||
url = "http://www.creytiv.com/pub/re-${version}.tar.gz";
|
||||
sha256 = "1qs6gpflgwic2pp1nplhhyl585h9q0kf74h5z29ajr5ij0j65rsa";
|
||||
sha256 = "0sfz5c7b05crahblanrrvwca092qaqzhjkbkva58jbqnmlk9h4d3";
|
||||
};
|
||||
buildInputs = [zlib openssl];
|
||||
makeFlags = [
|
||||
"USE_ZLIB=1" "USE_OPENSSL=1"
|
||||
''PREFIX=$(out)''
|
||||
]
|
||||
buildInputs = [ zlib openssl ];
|
||||
makeFlags = [ "USE_ZLIB=1" "USE_OPENSSL=1" "PREFIX=$(out)" ]
|
||||
++ stdenv.lib.optional (stdenv.cc.cc != null) "SYSROOT_ALT=${stdenv.cc.cc}"
|
||||
++ stdenv.lib.optional (stdenv.cc.libc != null) "SYSROOT=${stdenv.lib.getDev stdenv.cc.libc}"
|
||||
;
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
{stdenv, fetchurl, zlib, openssl, libre}:
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.5.0";
|
||||
version = "0.5.2";
|
||||
name = "librem-${version}";
|
||||
src=fetchurl {
|
||||
url = "http://www.creytiv.com/pub/rem-${version}.tar.gz";
|
||||
sha256 = "1n1ajy1ccw0xw6bndad4js2pnj977s2angzs7lawadh7x5wnalbb";
|
||||
sha256 = "1sv4986yyq42irk9alwp20gc3r5y0r6kix15sl8qmljgxn0lxigv";
|
||||
};
|
||||
buildInputs = [zlib openssl libre];
|
||||
makeFlags = [
|
||||
|
|
|
@ -16,7 +16,9 @@ in stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [
|
||||
libvirt glib libxml2 intltool libtool yajl nettle libgcrypt
|
||||
python pygobject2 gobjectIntrospection libcap_ng numactl xen libapparmor
|
||||
python pygobject2 gobjectIntrospection libcap_ng numactl libapparmor
|
||||
] ++ stdenv.lib.optionals stdenv.isx86_64 [
|
||||
xen
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
|
|
@ -9,14 +9,14 @@
|
|||
|
||||
with stdenv.lib;
|
||||
|
||||
# if you update, also bump pythonPackages.libvirt or it will break
|
||||
# if you update, also bump <nixpkgs/pkgs/development/python-modules/libvirt/default.nix> or it will break
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libvirt-${version}";
|
||||
version = "3.8.0";
|
||||
version = "3.10.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://libvirt.org/sources/${name}.tar.xz";
|
||||
sha256 = "1y83z4jb2by6ara0nw4sivh7svqcrw97yfhqwdscxl4y10saisvk";
|
||||
sha256 = "03kb37iv3dvvdlslznlc0njvjpmq082lczmsslz5p4fcwb50kwfz";
|
||||
};
|
||||
|
||||
patches = [ ./build-on-bsd.patch ];
|
||||
|
@ -27,9 +27,11 @@ stdenv.mkDerivation rec {
|
|||
libxslt xhtml1 perlPackages.XMLXPath curl libpcap
|
||||
] ++ optionals stdenv.isLinux [
|
||||
libpciaccess devicemapper lvm2 utillinux systemd libnl numad zfs
|
||||
libapparmor libcap_ng numactl xen attr parted
|
||||
libapparmor libcap_ng numactl attr parted
|
||||
] ++ optionals (stdenv.isLinux && stdenv.isx86_64) [
|
||||
xen
|
||||
] ++ optionals stdenv.isDarwin [
|
||||
libiconv gmp
|
||||
libiconv gmp
|
||||
];
|
||||
|
||||
preConfigure = optionalString stdenv.isLinux ''
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchurl, autoconf, automake, libtool, pkgconfig, zlib, ilmbase }:
|
||||
{ lib, stdenv, fetchurl, fetchpatch, autoconf, automake, libtool, pkgconfig, zlib, ilmbase }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "openexr-${lib.getVersion ilmbase}";
|
||||
|
@ -8,6 +8,18 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0ca2j526n4wlamrxb85y2jrgcv0gf21b3a19rr0gh4rjqkv1581n";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./bootstrap.patch
|
||||
(fetchpatch {
|
||||
# https://github.com/openexr/openexr/issues/232
|
||||
# https://github.com/openexr/openexr/issues/238
|
||||
name = "CVE-2017-12596.patch";
|
||||
url = "https://github.com/openexr/openexr/commit/f09f5f26c1924.patch";
|
||||
sha256 = "1d014da7c8cgbak5rgr4mq6wzm7kwznb921pr7nlb52vlfvqp4rs";
|
||||
stripLen = 1;
|
||||
})
|
||||
];
|
||||
|
||||
outputs = [ "bin" "dev" "out" "doc" ];
|
||||
|
||||
preConfigure = ''
|
||||
|
@ -20,8 +32,6 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
patches = [ ./bootstrap.patch ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.openexr.com/;
|
||||
license = licenses.bsd3;
|
||||
|
|
|
@ -20,6 +20,14 @@ let
|
|||
USE_OPENMP = "1";
|
||||
};
|
||||
|
||||
aarch64-linux = {
|
||||
BINARY = "64";
|
||||
TARGET = "ARMV8";
|
||||
DYNAMIC_ARCH = "1";
|
||||
CC = "gcc";
|
||||
USE_OPENMP = "1";
|
||||
};
|
||||
|
||||
i686-linux = {
|
||||
BINARY = "32";
|
||||
TARGET = "P2";
|
||||
|
|
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||
"${meta.homepage}/src/gst-python/${name}.tar.xz"
|
||||
"mirror://gentoo/distfiles/${name}.tar.xz"
|
||||
];
|
||||
sha256 = "0iwy0v2k27wd3957ich6j5f0f04b0wb2mb175ypf2lx68snk5k7l";
|
||||
sha256 = "19rb06x2m7103zwfm0plxx95gb8bp01ng04h4q9k6ii9q7g2kxf3";
|
||||
};
|
||||
|
||||
patches = [ ./different-path-with-pygobject.patch ];
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
{ buildPythonPackage
|
||||
, fetchPypi
|
||||
, lib
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "jsonrpclib-pelix";
|
||||
version = "0.3.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1qs95vxplxwspbrqy8bvc195s58iy43qkf75yrjfql2sim8b25sl";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "JSON RPC client library - Pelix compatible fork";
|
||||
homepage = https://pypi.python.org/pypi/jsonrpclib-pelix/;
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with maintainers; [ moredread ];
|
||||
};
|
||||
}
|
|
@ -0,0 +1,30 @@
|
|||
{ stdenv, buildPythonPackage, fetchPypi, pytest, six, mock }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
version = "1.3.5";
|
||||
pname = "kafka-python";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "19m9fdckxqngrgh0www7g8rgi7z0kq13wkhcqy1r8aa4sxad0f5j";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest six mock ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
|
||||
# Upstream uses tox but we don't on Nix. Running tests manually produces however
|
||||
# from . import unittest
|
||||
# E ImportError: cannot import name 'unittest'
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Pure Python client for Apache Kafka";
|
||||
homepage = https://github.com/dpkp/kafka-python;
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
|
@ -0,0 +1,30 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "lark-parser"; # PyPI name
|
||||
version = "2017-12-10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "erezsh";
|
||||
repo = "lark";
|
||||
rev = "852607b978584ecdec68ac115dd8554cdb0a2305";
|
||||
sha256 = "1clzmvbp1b4zamcm6ldak0hkw46n3lhw4b28qq9xdl0n4va6zig7";
|
||||
};
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m unittest
|
||||
'';
|
||||
|
||||
doCheck = false; # Requires js2py
|
||||
|
||||
meta = {
|
||||
description = "A modern parsing library for Python, implementing Earley & LALR(1) and an easy interface";
|
||||
homepage = https://github.com/erezsh/lark;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fridh ];
|
||||
};
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
{ stdenv, buildPythonPackage, fetchurl, python, pkgconfig, lxml, libvirt, nose }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "libvirt";
|
||||
version = "3.10.0";
|
||||
|
||||
src = assert version == libvirt.version; fetchurl {
|
||||
url = "http://libvirt.org/sources/python/${pname}-python-${version}.tar.gz";
|
||||
sha256 = "1l0fgqjnx76pzkhq540x9sf5fgzlrn0dpay90j2m4iq8nkclcbpw";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ libvirt lxml ];
|
||||
|
||||
checkInputs = [ nose ];
|
||||
checkPhase = ''
|
||||
nosetests
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.libvirt.org/;
|
||||
description = "libvirt Python bindings";
|
||||
license = licenses.lgpl2;
|
||||
maintainers = [ maintainers.fpletz ];
|
||||
};
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub, which, curl, makeWrapper }:
|
||||
{ stdenv, fetchFromGitHub, which, curl, makeWrapper, jdk }:
|
||||
|
||||
let
|
||||
rev = "77686b3dfa20a34270cc52377c8e37c3a461e484";
|
||||
|
@ -21,9 +21,12 @@ stdenv.mkDerivation {
|
|||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
|
||||
substituteInPlace bin/sbt --replace 'declare java_cmd="java"' 'declare java_cmd="${jdk}/bin/java"'
|
||||
|
||||
install bin/sbt $out/bin
|
||||
|
||||
wrapProgram $out/bin/sbt --prefix PATH : ${stdenv.lib.makeBinPath [ which curl]}
|
||||
wrapProgram $out/bin/sbt --prefix PATH : ${stdenv.lib.makeBinPath [ which curl ]}
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
assert stdenv.lib.versionAtLeast ocaml.version "4.02";
|
||||
|
||||
let
|
||||
version = "3.0.3";
|
||||
version = "3.0.5";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
@ -13,7 +13,7 @@ stdenv.mkDerivation {
|
|||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/ocaml/merlin/archive/v${version}.tar.gz";
|
||||
sha256 = "19gz9vcdna84xcm2b53m6b5g4c7ppb61j05fnvry3shvjiz2p58p";
|
||||
sha256 = "06h0klzzvb62rzb6m0pq8aa207fz7z54mjr05vky4wv8195bbjiy";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib yojson ]
|
||||
|
|
|
@ -9,11 +9,11 @@ assert versionAtLeast (getVersion ocpBuild) "1.99.6-beta";
|
|||
stdenv.mkDerivation rec {
|
||||
|
||||
name = "ocp-indent-${version}";
|
||||
version = "1.6.0";
|
||||
version = "1.6.1";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/OCamlPro/ocp-indent/archive/${version}.tar.gz";
|
||||
sha256 = "1h9y597s3ag8w1z32zzv4dfk3ppq557s55bnlfw5a5wqwvia911f";
|
||||
sha256 = "0rcaa11mjqka032g94wgw9llqpflyk3ywr3lr6jyxbh1rjvnipnw";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ ocpBuild opam ];
|
||||
|
|
|
@ -4,13 +4,13 @@
|
|||
}:
|
||||
|
||||
let
|
||||
dfVersion = "0.43.05";
|
||||
version = "${dfVersion}-r2";
|
||||
dfVersion = "0.44.02";
|
||||
version = "${dfVersion}-alpha1";
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "18zbxri5rch750m431pdmlk4xi7nc14iif3i7glxrgy2h5nfaw5c";
|
||||
sha256 = "1cdp2jwhxl54ym92jm58xyrz942ajp6idl31qrmzcqzawp2fl620";
|
||||
|
||||
# revision of library/xml submodule
|
||||
xmlRev = "3322beb2e7f4b28ff8e573e9bec738c77026b8e9";
|
||||
xmlRev = "e2e256066cc4a5c427172d9d27db25b7823e4e86";
|
||||
|
||||
arch =
|
||||
if stdenv.system == "x86_64-linux" then "64"
|
||||
|
|
|
@ -2,15 +2,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "dwarf-therapist-original-${version}";
|
||||
version = "37.0.0-Hello71";
|
||||
version = "39.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
## We use `Hello71`'s fork for 43.05 support
|
||||
# owner = "splintermind";
|
||||
owner = "Hello71";
|
||||
owner = "Dwarf-Therapist";
|
||||
repo = "Dwarf-Therapist";
|
||||
rev = "42ccaa71f6077ebdd41543255a360c3470812b97";
|
||||
sha256 = "0f6mlfck7q31jl5cb6d6blf5sb7cigvvs2rn31k16xc93hsdgxaz";
|
||||
rev = "8ae293a6b45333bbf30644d11d1987651e53a307";
|
||||
sha256 = "0p1127agr2a97gp5chgdkaa0wf02hqgx82yid1cvqpyj8amal6yg";
|
||||
};
|
||||
|
||||
outputs = [ "out" "layouts" ];
|
||||
|
@ -33,9 +31,9 @@ stdenv.mkDerivation rec {
|
|||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Tool to manage dwarves in in a running game of Dwarf Fortress";
|
||||
maintainers = with maintainers; [ the-kenny abbradar ];
|
||||
maintainers = with maintainers; [ the-kenny abbradar bendlas ];
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
homepage = https://github.com/splintermind/Dwarf-Therapist;
|
||||
homepage = https://github.com/Dwarf-Therapist/Dwarf-Therapist;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
{ symlinkJoin, lib, dwarf-therapist-original, dwarf-fortress-original, makeWrapper }:
|
||||
{ stdenv, symlinkJoin, lib, dwarf-therapist-original, dwarf-fortress-original, makeWrapper }:
|
||||
|
||||
let
|
||||
df = dwarf-fortress-original;
|
||||
dt = dwarf-therapist-original;
|
||||
inifile = "linux/v0.${df.baseVersion}.${df.patchVersion}.ini";
|
||||
platformSlug = if stdenv.targetPlatform.is32bit then
|
||||
"linux32" else "linux64";
|
||||
inifile = "linux/v0.${df.baseVersion}.${df.patchVersion}_${platformSlug}.ini";
|
||||
dfHashFile = "${df}/hash.md5";
|
||||
|
||||
in symlinkJoin {
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
}:
|
||||
|
||||
let
|
||||
baseVersion = "43";
|
||||
patchVersion = "05";
|
||||
baseVersion = "44";
|
||||
patchVersion = "02";
|
||||
dfVersion = "0.${baseVersion}.${patchVersion}";
|
||||
libpath = lib.makeLibraryPath [ stdenv.cc.cc stdenv.glibc dwarf-fortress-unfuck SDL ];
|
||||
platform =
|
||||
|
@ -12,8 +12,8 @@ let
|
|||
else if stdenv.system == "i686-linux" then "linux32"
|
||||
else throw "Unsupported platform";
|
||||
sha256 =
|
||||
if stdenv.system == "x86_64-linux" then "1r0b96yrdf24m9476k5x7rmp3faxr0kfwwdf35agpvlb1qbi6v45"
|
||||
else if stdenv.system == "i686-linux" then "16l1lydpkbnl3zhz4i2snmjk7pps8vmw3zv0bjgr8dncbsrycd03"
|
||||
if stdenv.system == "x86_64-linux" then "1w2b6sxjxb5cvmv15fxmzfkxvby4kdcf4kj4w35687filyg0skah"
|
||||
else if stdenv.system == "i686-linux" then "1yqzkgyl1adwysqskc2v4wlp1nkgxc7w6m37nwllghgwfzaiqwnh"
|
||||
else throw "Unsupported platform";
|
||||
|
||||
in
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2016-1_196";
|
||||
dfVersion = "0.43.05";
|
||||
dfVersion = "0.44.02";
|
||||
inherit soundPack;
|
||||
name = "soundsense-${version}";
|
||||
src = fetchzip {
|
||||
|
|
|
@ -5,13 +5,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cla-theme-${version}";
|
||||
version = "43.05-v23";
|
||||
version = "44.01-v24";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "DFgraphics";
|
||||
repo = "CLA";
|
||||
rev = version;
|
||||
sha256 = "1i74lyz7mpfrvh5g7rajxldhw7zddc2kp8f6bgfr3hl5l8ym5ci9";
|
||||
sha256 = "1lyazrls2vr8z58vfk5nvaffyv048j5xkr4wjvp6vrqxxvrxyrfd";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
|
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
|||
cp -r data raw $out
|
||||
'';
|
||||
|
||||
passthru.dfVersion = "0.43.05";
|
||||
passthru.dfVersion = "0.44.02";
|
||||
|
||||
preferLocalBuild = true;
|
||||
|
||||
|
|
|
@ -5,13 +5,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "phoebus-theme-${version}";
|
||||
version = "43.05c";
|
||||
version = "44.02a";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "DFgraphics";
|
||||
repo = "Phoebus";
|
||||
rev = version;
|
||||
sha256 = "0wiz9rd5ypibgh8854h5n2xwksfxylaziyjpbp3p1rkm3r7kr4fd";
|
||||
sha256 = "10qd8fbn75fvhkyxqljn4w52kbhfp9xh1ybanjzc57bz79sdzvfp";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
|
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
|||
cp -r data raw $out
|
||||
'';
|
||||
|
||||
passthru.dfVersion = "0.43.05";
|
||||
passthru.dfVersion = "0.44.02";
|
||||
|
||||
preferLocalBuild = true;
|
||||
|
||||
|
|
|
@ -3,14 +3,16 @@
|
|||
, ncurses, glib, gtk2, libsndfile, zlib
|
||||
}:
|
||||
|
||||
let dfVersion = "0.44.02"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "dwarf_fortress_unfuck-2016-07-13";
|
||||
name = "dwarf_fortress_unfuck-${dfVersion}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "svenstaro";
|
||||
repo = "dwarf_fortress_unfuck";
|
||||
rev = "d6a4ee67e7b41bec1caa87548640643db35a6080";
|
||||
sha256 = "17p7jzmwd5z54wn6bxmic0i8y8mma3q359zcy3r9x2mp2wv1yd7p";
|
||||
rev = dfVersion;
|
||||
sha256 = "0gfchfqrzx0h59mdv01hik8q2a2yx170q578agfck0nv39yhi6i5";
|
||||
};
|
||||
|
||||
cmakeFlags = [
|
||||
|
@ -33,7 +35,7 @@ stdenv.mkDerivation {
|
|||
# Breaks dfhack because of inlining.
|
||||
hardeningDisable = [ "fortify" ];
|
||||
|
||||
passthru.dfVersion = "0.43.05";
|
||||
passthru = { inherit dfVersion; };
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Unfucked multimedia layer for Dwarf Fortress";
|
||||
|
|
|
@ -38,11 +38,11 @@ let
|
|||
};
|
||||
in
|
||||
|
||||
assert lib.all (x: x.dfVersion == dwarf-fortress-original.dfVersion) pkgs;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "dwarf-fortress-${dwarf-fortress-original.dfVersion}";
|
||||
|
||||
compatible = lib.all (x: assert (x.dfVersion == dwarf-fortress-original.dfVersion); true) pkgs;
|
||||
|
||||
dfInit = substituteAll {
|
||||
name = "dwarf-fortress-init";
|
||||
src = ./dwarf-fortress-init.in;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
let
|
||||
# Choose your "paksets" of objects, images, text, music, etc.
|
||||
paksets = config.simutrans.paksets or "pak64 pak128";
|
||||
paksets = config.simutrans.paksets or "pak64 pak64.japan pak128 pak128.britain pak128.german";
|
||||
|
||||
result = with stdenv.lib; withPaks (
|
||||
if paksets == "*" then attrValues pakSpec # taking all
|
||||
|
@ -12,15 +12,15 @@ let
|
|||
);
|
||||
|
||||
ver1 = "120";
|
||||
ver2 = "1";
|
||||
ver3 = "1";
|
||||
ver2 = "2";
|
||||
ver3 = "2";
|
||||
version = "${ver1}.${ver2}.${ver3}";
|
||||
ver_dash = "${ver1}-${ver2}-${ver3}";
|
||||
ver2_dash = "${ver1}-${ver2}";
|
||||
|
||||
binary_src = fetchurl {
|
||||
url = "mirror://sourceforge/simutrans/simutrans/${ver_dash}/simutrans-src-${ver_dash}.zip";
|
||||
sha256 = "00cyxbn17r9p1f08jvx1wrhydxknkrxj5wk6ld912yicfql998r0";
|
||||
sha256 = "1yi6rwbrnfd65qfz63cncw2n56pbypvg6cllwh71mgvs6x2c28kz";
|
||||
};
|
||||
|
||||
|
||||
|
@ -29,22 +29,21 @@ let
|
|||
(pakName: attrs: mkPak (attrs // {inherit pakName;}))
|
||||
{
|
||||
pak64 = {
|
||||
# No release for 120.1 yet!
|
||||
srcPath = "120-0/simupak64-120-0-1";
|
||||
sha256 = "0y5v1ncpjyhjkkznqmk13kg5d0slhjbbvg1y8q5jxhmhlkghk9q2";
|
||||
srcPath = "120-2/simupak64-120-2";
|
||||
sha256 = "1s310pssar4s1nf6gi9cizbx4m75avqm2qk039ha5rk8jk4lzkmk";
|
||||
};
|
||||
"pak64.japan" = {
|
||||
# No release for 120.1 yet!
|
||||
# No release for 120.2 yet!
|
||||
srcPath = "120-0/simupak64.japan-120-0-1";
|
||||
sha256 = "14swy3h4ij74bgaw7scyvmivfb5fmp21nixmhlpk3mav3wr3167i";
|
||||
};
|
||||
|
||||
pak128 = {
|
||||
srcPath = "pak128%20for%20ST%20120%20%282.5.3%2C%20minor%20changes%29/pak128-2.5.3--ST120";
|
||||
sha256 = "19c66wvfg6rn7s9awi99cfp83hs9d8dmsjlmgn8m91a19fp9isdh";
|
||||
srcPath = "pak128%20for%20ST%20120.2.2%20%282.7%2C%20minor%20changes%29/pak128";
|
||||
sha256 = "1x6g6yfv1hvjyh3ciccly1i2k2n2b63dw694gdg4j90a543rmclg";
|
||||
};
|
||||
"pak128.britain" = {
|
||||
srcPath = "pak128.Britain%20for%20${ver2_dash}/pak128.Britain.1.17-${ver2_dash}";
|
||||
srcPath = "pak128.Britain%20for%20120-1/pak128.Britain.1.17-120-1";
|
||||
sha256 = "1nviwqizvch9n3n826nmmi7c707dxv0727m7lhc1n2zsrrxcxlr5";
|
||||
};
|
||||
"pak128.cs" = { # note: it needs pak128 to work
|
||||
|
@ -53,8 +52,8 @@ let
|
|||
};
|
||||
"pak128.german" = {
|
||||
url = "mirror://sourceforge/simutrans/PAK128.german/"
|
||||
+ "PAK128.german_0.8_${ver1}.x/PAK128.german_0.8.0_${ver1}.x.zip";
|
||||
sha256 = "1a8pc88vi59zlvff9i1f8nphdmisqmgg03qkdvrf5ks46aw8j6s5";
|
||||
+ "PAK128.german_0.10.x_for_ST_120.x/PAK128.german_0.10.3_for_ST_120.x.zip";
|
||||
sha256 = "1379zcviyf3v0wsli33sqa509k6zlw6fkk57vahc44mrnhka5fpb";
|
||||
};
|
||||
|
||||
/* This release contains accented filenames that prevent unzipping.
|
||||
|
|
|
@ -20,6 +20,10 @@ let
|
|||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = https://github.com/dezgeg/u-boot/commit/cbsize-2017-11.patch;
|
||||
sha256 = "08rqsrj78aif8vaxlpwiwwv1jwf0diihbj0h88hc0mlp0kmyqxwm";
|
||||
})
|
||||
(fetchpatch {
|
||||
url = https://github.com/dezgeg/u-boot/commit/rpi-2017-11-patch1.patch;
|
||||
sha256 = "067yq55vv1slv4xy346px7h329pi14abdn04chg6s1s6hmf6c1x9";
|
||||
|
@ -118,12 +122,24 @@ in rec {
|
|||
filesToInstall = ["u-boot-dtb.bin"];
|
||||
};
|
||||
|
||||
ubootOrangePiPc = buildUBoot rec {
|
||||
defconfig = "orangepi_pc_defconfig";
|
||||
targetPlatforms = ["armv7l-linux"];
|
||||
filesToInstall = ["u-boot-sunxi-with-spl.bin"];
|
||||
};
|
||||
|
||||
ubootPcduino3Nano = buildUBoot rec {
|
||||
defconfig = "Linksprite_pcDuino3_Nano_defconfig";
|
||||
targetPlatforms = ["armv7l-linux"];
|
||||
filesToInstall = ["u-boot-sunxi-with-spl.bin"];
|
||||
};
|
||||
|
||||
ubootQemuArm = buildUBoot rec {
|
||||
defconfig = "qemu_arm_defconfig";
|
||||
targetPlatforms = ["armv7l-linux"];
|
||||
filesToInstall = ["u-boot.bin"];
|
||||
};
|
||||
|
||||
ubootRaspberryPi = buildUBoot rec {
|
||||
defconfig = "rpi_defconfig";
|
||||
targetPlatforms = ["armv6l-linux"];
|
||||
|
|
|
@ -15,4 +15,5 @@ stdenv.mkDerivation
|
|||
mkdir -p $out/bin
|
||||
install -m755 $prog $out/bin
|
||||
'';
|
||||
meta.platforms = stdenv.lib.platforms.darwin;
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
with stdenv.lib;
|
||||
|
||||
import ./generic.nix (args // rec {
|
||||
version = "4.14.4";
|
||||
version = "4.14.5";
|
||||
|
||||
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
||||
modDirVersion = concatStrings (intersperse "." (take 3 (splitString "." "${version}.0")));
|
||||
|
@ -13,6 +13,6 @@ import ./generic.nix (args // rec {
|
|||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
||||
sha256 = "17m7ws3yp6f7ivi8n4gw0i10wf77bb37r7s6jbijg6nsj3vvz49a";
|
||||
sha256 = "1nkm54h6sr9bwhm67iy8jk3vklkgxs1sxjpj9wyxb69l0fya72fm";
|
||||
};
|
||||
} // (args.argsOverride or {}))
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
{ stdenv, hostPlatform, fetchurl, perl, buildLinux, ... } @ args:
|
||||
|
||||
import ./generic.nix (args // rec {
|
||||
version = "4.9.67";
|
||||
version = "4.9.68";
|
||||
extraMeta.branch = "4.9";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
||||
sha256 = "0zazyxn3q8bpinqvxjqkxg721vgzyk9agfbgr6hdyxvqq7fagfkz";
|
||||
sha256 = "0462cs1n04mw3df216q4qqxjgrhn76rdrnsdnf8myiccgmin0zyv";
|
||||
};
|
||||
} // (args.argsOverride or {}))
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
with stdenv.lib;
|
||||
|
||||
let
|
||||
version = "4.14.4";
|
||||
version = "4.14.5";
|
||||
revision = "a";
|
||||
sha256 = "1h99nhm3yd528gj0wg71lzi8v314r6r00m8zh2cw2sz82k7fds4w";
|
||||
sha256 = "1ahh4rc0w9fnd03x6wm8s8ar9c1spw1apph8lvlfr0x1x2kh2wqh";
|
||||
|
||||
# modVersion needs to be x.y.z, will automatically add .0 if needed
|
||||
modVersion = concatStrings (intersperse "." (take 3 (splitString "." "${version}.0")));
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
{ stdenv, hostPlatform, fetchurl, perl, buildLinux, libelf, utillinux, ... } @ args:
|
||||
|
||||
import ./generic.nix (args // rec {
|
||||
version = "4.15-rc2";
|
||||
modDirVersion = "4.15.0-rc2";
|
||||
version = "4.15-rc3";
|
||||
modDirVersion = "4.15.0-rc3";
|
||||
extraMeta.branch = "4.15";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://git.kernel.org/torvalds/t/linux-${version}.tar.gz";
|
||||
sha256 = "1i79gkjipj1q7w0d4zjz2hj43r12jicgznxk0wz0la2d8a4d3lcq";
|
||||
sha256 = "1rbyh5phx6mfr3wrz3q33gj8bgw2r76hvbzhvq1ya7fw54jjnz98";
|
||||
};
|
||||
|
||||
# Should the testing kernels ever be built on Hydra?
|
||||
|
|
|
@ -76,7 +76,7 @@ stdenv.mkDerivation {
|
|||
${if cross != null then stdenv.lib.attrByPath [ "uclibc" "extraConfig" ] "" cross else ""}
|
||||
$extraCrossConfig
|
||||
EOF
|
||||
make oldconfig </dev/null
|
||||
( set +o pipefail; yes "" | make oldconfig )
|
||||
'';
|
||||
|
||||
hardeningDisable = [ "stackprotector" ];
|
||||
|
|
|
@ -10,11 +10,11 @@ let
|
|||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "knot-resolver-${version}";
|
||||
version = "1.5.0";
|
||||
version = "1.5.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://secure.nic.cz/files/knot-resolver/${name}.tar.xz";
|
||||
sha256 = "c032e63a6b922294746e1ab4002860346e7a6d92b8502965a13ba599088fcb42";
|
||||
sha256 = "146dcb24422ef685fb4167e3c536a838cf4101acaa85fcfa0c150eebdba78f81";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
@ -37,11 +37,10 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doCheck = true;
|
||||
doInstallCheck = true;
|
||||
installCheckTarget = "check";
|
||||
preInstallCheck = ''
|
||||
export LD_LIBRARY_PATH="$out/lib"
|
||||
sed '/^\thints$/c #' -i tests/config/test_config.mk
|
||||
patchShebangs tests/config/runtest.sh
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue