Merge pull request #145239 from Stunkymonkey/development-pname-version-1
This commit is contained in:
commit
22a4fcfd4e
52 changed files with 318 additions and 217 deletions
|
@ -1,11 +1,23 @@
|
|||
{ lib, stdenv, fetchurl
|
||||
, imake, gccmakedep, bison, flex, pkg-config
|
||||
, xlibsWrapper, libXmu, libXpm, libXp }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, imake
|
||||
, gccmakedep
|
||||
, bison
|
||||
, flex
|
||||
, pkg-config
|
||||
, xlibsWrapper
|
||||
, libXmu
|
||||
, libXpm
|
||||
, libXp
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "Xaw3d";
|
||||
version = "1.6.3";
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "Xaw3d-1.6.3";
|
||||
src = fetchurl {
|
||||
url = "https://www.x.org/releases/individual/lib/libXaw3d-1.6.3.tar.bz2";
|
||||
url = "https://www.x.org/releases/individual/lib/libXaw3d-${version}.tar.bz2";
|
||||
sha256 = "0i653s8g25cc0mimkwid9366bqkbyhdyjhckx7bw77j20hzrkfid";
|
||||
};
|
||||
dontUseImakeConfigure = true;
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{ lib, stdenv, fetchurl, ncurses, libiconv }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "stfl-0.24";
|
||||
pname = "stfl";
|
||||
version = "0.24";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.clifford.at/stfl/${name}.tar.gz";
|
||||
url = "http://www.clifford.at/stfl/stfl-${version}.tar.gz";
|
||||
sha256 = "1460d5lc780p3q38l3wc9jfr2a7zlyrcra0li65aynj738cam9yl";
|
||||
};
|
||||
|
||||
|
@ -13,9 +14,9 @@ stdenv.mkDerivation rec {
|
|||
buildPhase = ''
|
||||
sed -i s/gcc/cc/g Makefile
|
||||
sed -i s%ncursesw/ncurses.h%ncurses.h% stfl_internals.h
|
||||
'' + ( lib.optionalString stdenv.isDarwin ''
|
||||
'' + (lib.optionalString stdenv.isDarwin ''
|
||||
sed -i s/-soname/-install_name/ Makefile
|
||||
'' ) + ''
|
||||
'') + ''
|
||||
make
|
||||
'';
|
||||
|
||||
|
@ -27,10 +28,10 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "http://www.clifford.at/stfl/";
|
||||
homepage = "http://www.clifford.at/stfl/";
|
||||
description = "A library which implements a curses-based widget set for text terminals";
|
||||
maintainers = with lib.maintainers; [ lovek323 ];
|
||||
license = lib.licenses.lgpl3;
|
||||
platforms = lib.platforms.unix;
|
||||
license = lib.licenses.lgpl3;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -16,11 +16,12 @@ let
|
|||
# this ^ also fixes CVE-2011-5244
|
||||
];
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "t1lib-5.1.2";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "t1lib";
|
||||
version = "5.1.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://metalab/libs/graphics/t1lib-5.1.2.tar.gz";
|
||||
url = "mirror://metalab/libs/graphics/t1lib-${version}.tar.gz";
|
||||
sha256 = "0nbvjpnmcznib1nlgg8xckrmsw3haa154byds2h90y2g0nsjh4w2";
|
||||
};
|
||||
inherit patches;
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "tecla-1.6.3";
|
||||
pname = "tecla";
|
||||
version = "1.6.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.astro.caltech.edu/~mcs/tecla/lib${name}.tar.gz";
|
||||
url = "https://www.astro.caltech.edu/~mcs/tecla/libtecla-${version}.tar.gz";
|
||||
sha256 = "06pfq5wa8d25i9bdjkp4xhms5101dsrbg82riz7rz1a0a32pqxgj";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,13 +1,25 @@
|
|||
{ lib, stdenv, fetchurl, cmake, qtbase, pkg-config, python3Packages, dbus-glib, dbus
|
||||
, telepathy-farstream, telepathy-glib }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, cmake
|
||||
, qtbase
|
||||
, pkg-config
|
||||
, python3Packages
|
||||
, dbus-glib
|
||||
, dbus
|
||||
, telepathy-farstream
|
||||
, telepathy-glib
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (python3Packages) python dbus-python;
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "telepathy-qt-0.9.8";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "telepathy-qt";
|
||||
version = "0.9.8";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://telepathy.freedesktop.org/releases/telepathy-qt/${name}.tar.gz";
|
||||
url = "https://telepathy.freedesktop.org/releases/telepathy-qt/telepathy-qt-${version}.tar.gz";
|
||||
sha256 = "bf8e2a09060addb80475a4938105b9b41d9e6837999b7a00e5351783857e18ad";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,17 +1,18 @@
|
|||
{ fetchurl, lib, stdenv, tokyocabinet, pkg-config }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "tokyotyrant-1.1.41";
|
||||
pname = "tokyotyrant";
|
||||
version = "1.1.41";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://fallabs.com/tokyotyrant/${name}.tar.gz";
|
||||
url = "https://fallabs.com/tokyotyrant/tokyotyrant-${version}.tar.gz";
|
||||
sha256 = "13xqcinhydqmh7231qlir6pymacjwcf98drybkhd9597kzxp1bs2";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ tokyocabinet ];
|
||||
|
||||
doCheck = false; # FIXME
|
||||
doCheck = false; # FIXME
|
||||
|
||||
meta = {
|
||||
description = "Network interface of the Tokyo Cabinet DBM";
|
||||
|
@ -35,7 +36,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
license = lib.licenses.lgpl21Plus;
|
||||
|
||||
platforms = lib.platforms.gnu ++ lib.platforms.linux; # arbitrary choice
|
||||
platforms = lib.platforms.gnu ++ lib.platforms.linux; # arbitrary choice
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
{ lib, stdenv, fetchFromGitLab, autoreconfHook, pkg-config, libogg }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "tremor-unstable-2018-03-16";
|
||||
pname = "tremor";
|
||||
version = "unstable-2018-03-16";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "xiph";
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ucl-1.03";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ucl";
|
||||
version = "1.03";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.oberhumer.com/opensource/ucl/download/ucl-1.03.tar.gz";
|
||||
url = "https://www.oberhumer.com/opensource/ucl/download/ucl-${version}.tar.gz";
|
||||
sha256 = "b865299ffd45d73412293369c9754b07637680e5c826915f097577cd27350348";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{ lib, stdenv, fetchurl, cmake, pkg-config }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "uid_wrapper-1.2.8";
|
||||
pname = "uid_wrapper";
|
||||
version = "1.2.8";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://samba/cwrap/${name}.tar.gz";
|
||||
url = "mirror://samba/cwrap/uid_wrapper-${version}.tar.gz";
|
||||
sha256 = "0swm9d8l69dw7nbrw6xh7rdy7cfrqflw3hxshicsrhd9v03iwvqf";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{ lib, stdenv, fetchurl, darwin }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "webrtc-audio-processing-0.3.1";
|
||||
pname = "webrtc-audio-processing";
|
||||
version = "0.3.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://freedesktop.org/software/pulseaudio/webrtc-audio-processing/${name}.tar.xz";
|
||||
url = "https://freedesktop.org/software/pulseaudio/webrtc-audio-processing/webrtc-audio-processing-${version}.tar.xz";
|
||||
sha256 = "1gsx7k77blfy171b6g3m0k0s0072v6jcawhmx1kjs9w5zlwdkzd0";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{stdenv, fetchurl, unzip, makeWrapper}:
|
||||
{ stdenv, fetchurl, unzip, makeWrapper }:
|
||||
|
||||
let
|
||||
# Gradle is a build system that bootstraps itself. This is what it actually
|
||||
|
@ -53,16 +53,21 @@ let
|
|||
};
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "mobilesdk-7.5.1.GA";
|
||||
src = if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux") then fetchurl {
|
||||
url = "https://builds.appcelerator.com/mobile/7_5_X/mobilesdk-7.5.1.v20190124152315-linux.zip";
|
||||
sha256 = "1ihyh6szl9a2gbdgv13msd3g7i3xi9ifmgsh6v562hqlfi4lixng";
|
||||
}
|
||||
else if stdenv.system == "x86_64-darwin" then fetchurl {
|
||||
url = "https://builds.appcelerator.com/mobile/7_5_X/mobilesdk-7.5.1.v20190124152315-osx.zip";
|
||||
sha256 = "1whs1j7fkk2hxr4nxq50d7ic5wj83b1i1jl0p722sqbvkmgxssa2";
|
||||
}
|
||||
else throw "Platform: ${stdenv.system} not supported!";
|
||||
pname = "mobilesdk";
|
||||
version = "7.5.1.GA";
|
||||
|
||||
src =
|
||||
if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux") then
|
||||
fetchurl {
|
||||
url = "https://builds.appcelerator.com/mobile/7_5_X/mobilesdk-7.5.1.v20190124152315-linux.zip";
|
||||
sha256 = "1ihyh6szl9a2gbdgv13msd3g7i3xi9ifmgsh6v562hqlfi4lixng";
|
||||
}
|
||||
else if stdenv.system == "x86_64-darwin" then
|
||||
fetchurl {
|
||||
url = "https://builds.appcelerator.com/mobile/7_5_X/mobilesdk-7.5.1.v20190124152315-osx.zip";
|
||||
sha256 = "1whs1j7fkk2hxr4nxq50d7ic5wj83b1i1jl0p722sqbvkmgxssa2";
|
||||
}
|
||||
else throw "Platform: ${stdenv.system} not supported!";
|
||||
|
||||
nativeBuildInputs = [ makeWrapper unzip ];
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{stdenv, lib, fetchurl, unzip, makeWrapper}:
|
||||
{ stdenv, lib, fetchurl, unzip, makeWrapper }:
|
||||
|
||||
let
|
||||
# Gradle is a build system that bootstraps itself. This is what it actually
|
||||
|
@ -53,16 +53,21 @@ let
|
|||
};
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "mobilesdk-8.2.1.GA";
|
||||
src = if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux") then fetchurl {
|
||||
url = "https://builds.appcelerator.com/mobile/8_2_X/mobilesdk-8.2.1.v20191025070136-linux.zip";
|
||||
sha256 = "1nvcmm6cby6bmwdiacq46n5y4zjpz9qlipakvglw27j3p4rbmkwl";
|
||||
}
|
||||
else if stdenv.system == "x86_64-darwin" then fetchurl {
|
||||
url = "https://builds.appcelerator.com/mobile/8_2_X/mobilesdk-8.2.1.v20191025070136-osx.zip";
|
||||
sha256 = "1nxwmyw3vqc5wghj38kpksisy0i808x0x3pa8w3p290w709g311l";
|
||||
}
|
||||
else throw "Platform: ${stdenv.system} not supported!";
|
||||
pname = "mobilesdk";
|
||||
version = "8.2.1.GA";
|
||||
|
||||
src =
|
||||
if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux") then
|
||||
fetchurl {
|
||||
url = "https://builds.appcelerator.com/mobile/8_2_X/mobilesdk-8.2.1.v20191025070136-linux.zip";
|
||||
sha256 = "1nvcmm6cby6bmwdiacq46n5y4zjpz9qlipakvglw27j3p4rbmkwl";
|
||||
}
|
||||
else if stdenv.system == "x86_64-darwin" then
|
||||
fetchurl {
|
||||
url = "https://builds.appcelerator.com/mobile/8_2_X/mobilesdk-8.2.1.v20191025070136-osx.zip";
|
||||
sha256 = "1nxwmyw3vqc5wghj38kpksisy0i808x0x3pa8w3p290w709g311l";
|
||||
}
|
||||
else throw "Platform: ${stdenv.system} not supported!";
|
||||
|
||||
nativeBuildInputs = [ makeWrapper unzip ];
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{stdenv, lib, fetchurl, unzip, makeWrapper}:
|
||||
{ stdenv, lib, fetchurl, unzip, makeWrapper }:
|
||||
|
||||
let
|
||||
# Gradle is a build system that bootstraps itself. This is what it actually
|
||||
|
@ -53,16 +53,21 @@ let
|
|||
};
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "mobilesdk-8.3.2.GA";
|
||||
src = if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux") then fetchurl {
|
||||
url = "https://builds.appcelerator.com/mobile/8_3_X/mobilesdk-8.3.2.v20200117111803-linux.zip";
|
||||
sha256 = "04pfw21jrx9w259lphynwykqjk4c9hm0zix4d40s7mf8mmh3xdx9";
|
||||
}
|
||||
else if stdenv.system == "x86_64-darwin" then fetchurl {
|
||||
url = "https://builds.appcelerator.com/mobile/8_3_X/mobilesdk-8.3.2.v20200117111803-osx.zip";
|
||||
sha256 = "1zflq5hc96lrriw71ya623kkskkisi9yayg8qs03zimi0gksizxw";
|
||||
}
|
||||
else throw "Platform: ${stdenv.system} not supported!";
|
||||
pname = "mobilesdk";
|
||||
version = "8.3.2.GA";
|
||||
|
||||
src =
|
||||
if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux") then
|
||||
fetchurl {
|
||||
url = "https://builds.appcelerator.com/mobile/8_3_X/mobilesdk-8.3.2.v20200117111803-linux.zip";
|
||||
sha256 = "04pfw21jrx9w259lphynwykqjk4c9hm0zix4d40s7mf8mmh3xdx9";
|
||||
}
|
||||
else if stdenv.system == "x86_64-darwin" then
|
||||
fetchurl {
|
||||
url = "https://builds.appcelerator.com/mobile/8_3_X/mobilesdk-8.3.2.v20200117111803-osx.zip";
|
||||
sha256 = "1zflq5hc96lrriw71ya623kkskkisi9yayg8qs03zimi0gksizxw";
|
||||
}
|
||||
else throw "Platform: ${stdenv.system} not supported!";
|
||||
|
||||
nativeBuildInputs = [ makeWrapper unzip ];
|
||||
|
||||
|
|
|
@ -10,17 +10,18 @@ then throw "bolt is not available for OCaml ${ocaml.version}"
|
|||
else
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
name = "bolt-1.4";
|
||||
pname = "bolt";
|
||||
version = "1.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://forge.ocamlcore.org/frs/download.php/1043/${name}.tar.gz";
|
||||
url = "https://forge.ocamlcore.org/frs/download.php/1043/bolt-${version}.tar.gz";
|
||||
sha256 = "1c807wrpxra9sbb34lajhimwra28ldxv04m570567lh2b04n38zy";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib ocamlbuild which camlp4 ];
|
||||
|
||||
patches = [ (fetchpatch {
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://raw.githubusercontent.com/ocaml/opam-repository/master/packages/bolt/bolt.1.4/files/opam.patch";
|
||||
sha256 = "08cl39r98w312sw23cskd5wian6zg20isn9ki41hnbcgkazhi7pb";
|
||||
})
|
||||
|
@ -43,7 +44,7 @@ EOF
|
|||
# option. Installation is handled by ocamlfind.
|
||||
dontAddPrefix = true;
|
||||
dontAddStaticConfigureFlags = true;
|
||||
configurePlatforms = [];
|
||||
configurePlatforms = [ ];
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
|
@ -60,7 +61,7 @@ EOF
|
|||
modeled after the famous log4j logging framework for Java.
|
||||
'';
|
||||
license = licenses.lgpl3;
|
||||
platforms = ocaml.meta.platforms or [];
|
||||
platforms = ocaml.meta.platforms or [ ];
|
||||
maintainers = [ maintainers.jirkamarsik ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,21 +1,23 @@
|
|||
{stdenv, lib, fetchurl, ocaml, findlib}:
|
||||
{ stdenv, lib, fetchurl, ocaml, findlib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ocaml-calendar";
|
||||
version = "2.5";
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml-calendar-2.5";
|
||||
src = fetchurl {
|
||||
url = "https://forge.ocamlcore.org/frs/download.php/915/calendar-2.5.tar.bz2";
|
||||
url = "https://forge.ocamlcore.org/frs/download.php/915/calendar-${version}.tar.bz2";
|
||||
sha256 = "04pvhwb664g3s644c7v7419a3kvf5s3pynkhmk5j59dvlfm1yf0f";
|
||||
};
|
||||
};
|
||||
|
||||
buildInputs = [ocaml findlib];
|
||||
buildInputs = [ ocaml findlib ];
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
meta = {
|
||||
meta = {
|
||||
homepage = "https://forge.ocamlcore.org/projects/calendar/";
|
||||
description = "An Objective Caml library managing dates and times";
|
||||
license = "LGPL";
|
||||
platforms = ocaml.meta.platforms or [];
|
||||
platforms = ocaml.meta.platforms or [ ];
|
||||
maintainers = [
|
||||
lib.maintainers.gal_bolle
|
||||
];
|
||||
|
|
|
@ -4,10 +4,12 @@ if lib.versionAtLeast ocaml.version "4.06"
|
|||
then throw "cil is not available for OCaml ${ocaml.version}"
|
||||
else
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml-cil-1.7.3";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ocaml-cil";
|
||||
version = "1.7.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/cil/cil-1.7.3.tar.gz";
|
||||
url = "mirror://sourceforge/cil/cil-${version}.tar.gz";
|
||||
sha256 = "05739da0b0msx6kmdavr3y2bwi92jbh3szc35d7d8pdisa8g5dv9";
|
||||
};
|
||||
|
||||
|
@ -26,6 +28,6 @@ stdenv.mkDerivation {
|
|||
description = "A front-end for the C programming language that facilitates program analysis and transformation";
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.vbgl ];
|
||||
platforms = ocaml.meta.platforms or [];
|
||||
platforms = ocaml.meta.platforms or [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{ stdenv, lib, fetchurl, ocaml, findlib, camlp4 }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml-config-file-1.2";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ocaml-config-file";
|
||||
version = "1.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://forge.ocamlcore.org/frs/download.php/1387/config-file-1.2.tar.gz";
|
||||
url = "https://forge.ocamlcore.org/frs/download.php/1387/config-file-${version}.tar.gz";
|
||||
sha256 = "1b02yxcnsjhr05ssh2br2ka4hxsjpdw34ldl3nk33wfnkwk7g67q";
|
||||
};
|
||||
|
||||
|
@ -14,7 +15,7 @@ stdenv.mkDerivation {
|
|||
|
||||
meta = {
|
||||
homepage = "http://config-file.forge.ocamlcore.org/";
|
||||
platforms = ocaml.meta.platforms or [];
|
||||
platforms = ocaml.meta.platforms or [ ];
|
||||
description = "An OCaml library used to manage the configuration file(s) of an application";
|
||||
license = lib.licenses.lgpl2Plus;
|
||||
maintainers = with lib.maintainers; [ vbgl ];
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
{ lib, stdenv, fetchzip, ocaml, findlib, ocamlbuild }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
||||
name = "ocaml${ocaml.version}-csv-1.5";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ocaml${ocaml.version}-csv";
|
||||
version = "1.5";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/Chris00/ocaml-csv/releases/download/1.5/csv-1.5.tar.gz";
|
||||
url = "https://github.com/Chris00/ocaml-csv/releases/download/${version}/csv-${version}.tar.gz";
|
||||
sha256 = "1ca7jgg58j24pccs5fshis726s06fdcjshnwza5kwxpjgdbvc63g";
|
||||
};
|
||||
|
||||
|
@ -27,6 +27,6 @@ stdenv.mkDerivation {
|
|||
homepage = "https://github.com/Chris00/ocaml-csv";
|
||||
license = licenses.lgpl21;
|
||||
maintainers = [ maintainers.vbgl ];
|
||||
platforms = ocaml.meta.platforms or [];
|
||||
platforms = ocaml.meta.platforms or [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -6,11 +6,12 @@ if lib.versionAtLeast ocaml.version "4.06"
|
|||
then throw "enumerate-111.08.00 is not available for OCaml ${ocaml.version}"
|
||||
else
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml-enumerate-111.08.00";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ocaml-enumerate";
|
||||
version = "111.08.00";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://ocaml.janestreet.com/ocaml-core/111.08.00/individual/enumerate-111.08.00.tar.gz";
|
||||
url = "https://ocaml.janestreet.com/ocaml-core/${lib.versions.majorMinor version}.00/individual/enumerate-${version}.tar.gz";
|
||||
sha256 = "0b6mx5p01lcpimvak4wx6aj2119707wsfzd83rwgb91bhpgzh156";
|
||||
};
|
||||
|
||||
|
@ -23,6 +24,6 @@ stdenv.mkDerivation {
|
|||
homepage = "https://ocaml.janestreet.com/";
|
||||
description = "Quotation expanders for enumerating finite types";
|
||||
license = lib.licenses.asl20;
|
||||
platforms = ocaml.meta.platforms or [];
|
||||
platforms = ocaml.meta.platforms or [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -6,11 +6,12 @@ if lib.versionAtLeast ocaml.version "4.06"
|
|||
then throw "fieldslib-109.20.03 is not available for OCaml ${ocaml.version}"
|
||||
else
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml-fieldslib-109.20.03";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ocaml-fieldslib";
|
||||
version = "109.20.03";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://ocaml.janestreet.com/ocaml-core/109.20.00/individual/fieldslib-109.20.03.tar.gz";
|
||||
url = "https://ocaml.janestreet.com/ocaml-core/${lib.versions.majorMinor version}.00/individual/fieldslib-${version}.tar.gz";
|
||||
sha256 = "1dkzk0wf26rhvji80dz1r56dp6x9zqrnp87wldd4pj56jli94vir";
|
||||
};
|
||||
|
||||
|
@ -24,6 +25,6 @@ stdenv.mkDerivation {
|
|||
description = "OCaml syntax extension to define first class values representing record fields, to get and set record fields, iterate and fold over all fields of a record and create new record values";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.vbgl ];
|
||||
platforms = ocaml.meta.platforms or [];
|
||||
platforms = ocaml.meta.platforms or [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
{ stdenv, lib, fetchFromGitHub, pkg-config, fontconfig, ocaml }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml-fontconfig-20131103";
|
||||
pname = "ocaml-fontconfig";
|
||||
version = "unstable-2013-11-03";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "flh";
|
||||
repo = "ocaml-fontconfig";
|
||||
|
@ -19,7 +21,7 @@ stdenv.mkDerivation {
|
|||
meta = {
|
||||
description = "Fontconfig bindings for OCaml";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = ocaml.meta.platforms or [];
|
||||
platforms = ocaml.meta.platforms or [ ];
|
||||
maintainers = with lib.maintainers; [ vbgl ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -4,10 +4,12 @@ if !lib.versionAtLeast ocaml.version "4.03"
|
|||
then throw "fpath is not available for OCaml ${ocaml.version}"
|
||||
else
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml${ocaml.version}-fpath-0.7.3";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ocaml${ocaml.version}-fpath";
|
||||
version = "0.7.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://erratique.ch/software/fpath/releases/fpath-0.7.3.tbz";
|
||||
url = "https://erratique.ch/software/fpath/releases/fpath-${version}.tbz";
|
||||
sha256 = "03z7mj0sqdz465rc4drj1gr88l9q3nfs374yssvdjdyhjbqqzc0j";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,17 +1,20 @@
|
|||
{ stdenv, lib, fetchurl, fetchpatch, ocaml, findlib, ocaml_pcre }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml${ocaml.version}-inifiles-1.2";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ocaml${ocaml.version}-inifiles";
|
||||
version = "1.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://ubuntu/pool/universe/o/ocaml-inifiles/ocaml-inifiles_1.2.orig.tar.gz";
|
||||
url = "mirror://ubuntu/pool/universe/o/ocaml-inifiles/ocaml-inifiles_${version}.orig.tar.gz";
|
||||
sha256 = "0jhzgiypmh6hwsv1zpiq77fi0cvcmwbiy5x0yg7mz6p3dh1dmkns";
|
||||
};
|
||||
|
||||
patches = [ (fetchpatch {
|
||||
url = "https://raw.githubusercontent.com/ocaml/opam-repository/master/packages/ocaml-inifiles/ocaml-inifiles.1.2/files/ocaml-inifiles.diff";
|
||||
sha256 = "037kk3172s187w8vwsykdxlpklxzc7m7np57sapk499d8adzdgwn";
|
||||
})];
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://raw.githubusercontent.com/ocaml/opam-repository/master/packages/ocaml-inifiles/ocaml-inifiles.1.2/files/ocaml-inifiles.diff";
|
||||
sha256 = "037kk3172s187w8vwsykdxlpklxzc7m7np57sapk499d8adzdgwn";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [ ocaml findlib ];
|
||||
propagatedBuildInputs = [ ocaml_pcre ];
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
{ stdenv, lib, fetchurl, ocaml, findlib, camlp4, config-file, lablgtk, xmlm }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml-lablgtk-extras-1.4";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ocaml-lablgtk-extras";
|
||||
version = "1.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://forge.ocamlcore.org/frs/download.php/1282/lablgtkextras-1.4.tar.gz";
|
||||
url = "http://forge.ocamlcore.org/frs/download.php/1282/lablgtkextras-${version}.tar.gz";
|
||||
sha256 = "09fqxwdib7r9yxynknc9gv3jw2hnhj5cak7q5jngk6m8rzvmhfcc";
|
||||
};
|
||||
|
||||
|
@ -13,7 +15,7 @@ stdenv.mkDerivation {
|
|||
createFindlibDestdir = true;
|
||||
|
||||
meta = {
|
||||
platforms = ocaml.meta.platforms or [];
|
||||
platforms = ocaml.meta.platforms or [ ];
|
||||
maintainers = with lib.maintainers; [ vbgl ];
|
||||
homepage = "http://gtk-extras.forge.ocamlcore.org/";
|
||||
description = "A collection of libraries and modules useful when developing OCaml/LablGtk2 applications";
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
{ lib, stdenv, fetchzip, ocaml, findlib, ocamlbuild, pgocaml, camlp4 }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml-macaque-0.7.2";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ocaml-macaque";
|
||||
version = "0.7.2";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/ocsigen/macaque/archive/0.7.2.tar.gz";
|
||||
url = "https://github.com/ocsigen/macaque/archive/${version}.tar.gz";
|
||||
sha256 = "14i0a8cndzndjmlkyhf31r451q99cnkndgxcj0id4qjqhdl4bmjv";
|
||||
};
|
||||
|
||||
|
@ -16,7 +18,7 @@ stdenv.mkDerivation {
|
|||
description = "Macros for Caml Queries";
|
||||
homepage = "https://github.com/ocsigen/macaque";
|
||||
license = licenses.lgpl2;
|
||||
platforms = ocaml.meta.platforms or [];
|
||||
platforms = ocaml.meta.platforms or [ ];
|
||||
maintainers = with maintainers; [ vbgl ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -4,10 +4,12 @@ if lib.versionAtLeast ocaml.version "4.06"
|
|||
then throw "magick is not available for OCaml ${ocaml.version}"
|
||||
else
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml-magick-0.34";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ocaml-magick";
|
||||
version = "0.34";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.linux-nantes.org/~fmonnier/OCaml/ImageMagick/ImageMagick/OCaml-ImageMagick-0.34.tgz";
|
||||
url = "http://www.linux-nantes.org/~fmonnier/OCaml/ImageMagick/ImageMagick/OCaml-ImageMagick-${version}.tgz";
|
||||
sha256 = "0gn9l2qdr8gby2x8c2mb59x1kipb2plr45rbq6ymcxyi0wmzfh3q";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
{ stdenv, lib, fetchzip, ocaml, findlib, ocamlbuild, topkg, astring }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml${ocaml.version}-ocb-stubblr-0.1.0";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ocaml${ocaml.version}-ocb-stubblr";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/pqwy/ocb-stubblr/releases/download/v0.1.0/ocb-stubblr-0.1.0.tbz";
|
||||
url = "https://github.com/pqwy/ocb-stubblr/releases/download/v${version}/ocb-stubblr-${version}.tbz";
|
||||
name = "src.tar.bz";
|
||||
sha256 = "0hpds1lkq4j8wgslv7hnirgfrjmqi36h5rarpw9mwf24gfp5ays2";
|
||||
};
|
||||
|
|
|
@ -5,9 +5,11 @@ then throw "ocurl is not available for OCaml ${ocaml.version}"
|
|||
else
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ocurl-0.9.1";
|
||||
pname = "ocurl";
|
||||
version = "0.9.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://ygrek.org.ua/p/release/ocurl/${name}.tar.gz";
|
||||
url = "http://ygrek.org.ua/p/release/ocurl/ocurl-${version}.tar.gz";
|
||||
sha256 = "0n621cxb9012pj280c7821qqsdhypj8qy9qgrah79dkh6a8h2py6";
|
||||
};
|
||||
|
||||
|
@ -19,6 +21,6 @@ stdenv.mkDerivation rec {
|
|||
license = lib.licenses.mit;
|
||||
homepage = "http://ygrek.org.ua/p/ocurl/";
|
||||
maintainers = with lib.maintainers; [ bennofs ];
|
||||
platforms = ocaml.meta.platforms or [];
|
||||
platforms = ocaml.meta.platforms or [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -4,11 +4,12 @@ if lib.versionAtLeast ocaml.version "4.06"
|
|||
then throw "ocaml-data-notation is not available for OCaml ${ocaml.version}"
|
||||
else
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml-data-notation-0.0.11";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ocaml-data-notation";
|
||||
version = "0.0.11";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://forge.ocamlcore.org/frs/download.php/1310/ocaml-data-notation-0.0.11.tar.gz";
|
||||
url = "https://forge.ocamlcore.org/frs/download.php/1310/ocaml-data-notation-${version}.tar.gz";
|
||||
sha256 = "09a8zdyifpc2nl4hdvg9206142y31cq95ajgij011s1qcg3z93lj";
|
||||
};
|
||||
|
||||
|
@ -17,16 +18,17 @@ stdenv.mkDerivation {
|
|||
createFindlibDestdir = true;
|
||||
|
||||
configurePhase = "ocaml setup.ml -configure";
|
||||
buildPhase = "ocaml setup.ml -build";
|
||||
installPhase = "ocaml setup.ml -install";
|
||||
buildPhase = "ocaml setup.ml -build";
|
||||
installPhase = "ocaml setup.ml -install";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Store data using OCaml notation";
|
||||
homepage = "https://forge.ocamlcore.org/projects/odn/";
|
||||
license = licenses.lgpl21;
|
||||
platforms = ocaml.meta.platforms or [];
|
||||
platforms = ocaml.meta.platforms or [ ];
|
||||
maintainers = with maintainers; [
|
||||
vbgl maggesi
|
||||
vbgl
|
||||
maggesi
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
{ stdenv, lib, fetchurl, ocaml, findlib, ocamlbuild }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml${ocaml.version}-omd-1.3.1";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ocaml${ocaml.version}-omd";
|
||||
version = "1.3.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/Chris00/omd/releases/download/1.3.1/omd-1.3.1.tar.gz";
|
||||
url = "https://github.com/Chris00/omd/releases/download/${version}/omd-${version}.tar.gz";
|
||||
sha256 = "1sgdgzpx96br7npj8mh91cli5mqmzsjpngwm7x4212n3k1d0ivwa";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
{ stdenv, lib, fetchurl, fetchpatch, ocaml, findlib, ocamlbuild, camlp4 }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml-optcomp-1.6";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ocaml-optcomp";
|
||||
version = "1.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/diml/optcomp/archive/1.6.tar.gz";
|
||||
url = "https://github.com/diml/optcomp/archive/${version}.tar.gz";
|
||||
sha256 = "0hhhb2gisah1h22zlg5iszbgqxdd7x85cwd57bd4mfkx9l7dh8jh";
|
||||
};
|
||||
|
||||
|
@ -34,11 +36,11 @@ stdenv.mkDerivation {
|
|||
ocamlfind install optcomp META _build/src/optcomp.{a,cma,cmxa,cmxs} _build/src/pa_optcomp.{cmi,cmx,mli}
|
||||
'';
|
||||
|
||||
meta = {
|
||||
meta = {
|
||||
homepage = "https://github.com/diml/optcomp";
|
||||
description = "Optional compilation for OCaml with cpp-like directives";
|
||||
license = lib.licenses.bsd3;
|
||||
platforms = ocaml.meta.platforms or [];
|
||||
platforms = ocaml.meta.platforms or [ ];
|
||||
maintainers = [
|
||||
lib.maintainers.gal_bolle
|
||||
];
|
||||
|
|
|
@ -1,18 +1,19 @@
|
|||
{stdenv, fetchurl, ocaml, findlib, ncurses, python, ocaml_make}:
|
||||
{ lib, stdenv, fetchurl, ocaml, findlib, ncurses, python, ocaml_make }:
|
||||
|
||||
# This is the original pycaml version with patches from debian.
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "pycaml-0.82-14";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pycaml";
|
||||
version = "0.82-14";
|
||||
|
||||
srcs = [
|
||||
(fetchurl {
|
||||
url = "mirror://debian/pool/main/p/pycaml/pycaml_0.82.orig.tar.gz";
|
||||
url = "mirror://debian/pool/main/p/pycaml/pycaml_${lib.versions.majorMinor version}.orig.tar.gz";
|
||||
sha256 = "d57be559c8d586c575717d47817986bbdbcebe2ffd16ad6b291525c62868babe";
|
||||
})
|
||||
|
||||
(fetchurl {
|
||||
url = "mirror://debian/pool/main/p/pycaml/pycaml_0.82-14.debian.tar.gz";
|
||||
url = "mirror://debian/pool/main/p/pycaml/pycaml_${version}.debian.tar.gz";
|
||||
sha256 = "a763088ec1fa76c769bf586ed6692e7ac035b0a2bfd48a90a8e7a9539ec0c2f1";
|
||||
})
|
||||
];
|
||||
|
@ -41,6 +42,6 @@ stdenv.mkDerivation {
|
|||
homepage = "https://github.com/chemoelectric/pycaml";
|
||||
description = "Bindings for python and ocaml";
|
||||
license = "LGPL";
|
||||
platforms = ocaml.meta.platforms or [];
|
||||
platforms = ocaml.meta.platforms or [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{ lib, stdenv, fetchurl, ocaml, findlib, topkg, ocamlbuild }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml-react-1.2.1";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ocaml-react";
|
||||
version = "1.2.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://erratique.ch/software/react/releases/react-1.2.1.tbz";
|
||||
url = "https://erratique.ch/software/react/releases/react-${version}.tbz";
|
||||
sha256 = "1aj8w79gdd9xnrbz7s5p8glcb4pmimi8jp9f439dqnf6ih3mqb3v";
|
||||
};
|
||||
|
||||
|
@ -16,7 +17,7 @@ stdenv.mkDerivation {
|
|||
homepage = "https://erratique.ch/software/react";
|
||||
description = "Applicative events and signals for OCaml";
|
||||
license = licenses.bsd3;
|
||||
platforms = ocaml.meta.platforms or [];
|
||||
maintainers = with maintainers; [ maggesi vbmithr gal_bolle];
|
||||
platforms = ocaml.meta.platforms or [ ];
|
||||
maintainers = with maintainers; [ maggesi vbmithr gal_bolle ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -4,10 +4,12 @@ if !lib.versionAtLeast ocaml.version "4.04"
|
|||
then throw "reactiveData is not available for OCaml ${ocaml.version}"
|
||||
else
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml${ocaml.version}-reactiveData-0.2.2";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ocaml${ocaml.version}-reactiveData";
|
||||
version = "0.2.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ocsigen/reactiveData/archive/0.2.2.tar.gz";
|
||||
url = "https://github.com/ocsigen/reactiveData/archive/${version}.tar.gz";
|
||||
sha256 = "0jzagyp4zla28wykvcgqwd8df71ir0vb4s8akp02cfacd5v86sng";
|
||||
};
|
||||
|
||||
|
@ -22,7 +24,7 @@ stdenv.mkDerivation {
|
|||
description = "An OCaml module for functional reactive programming (FRP) based on React";
|
||||
homepage = "https://github.com/ocsigen/reactiveData";
|
||||
license = licenses.lgpl21;
|
||||
platforms = ocaml.meta.platforms or [];
|
||||
platforms = ocaml.meta.platforms or [ ];
|
||||
maintainers = with maintainers; [ vbgl ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
stdenv.mkDerivation ({
|
||||
version = "0.1";
|
||||
name = "ocaml${ocaml.version}-seq-0.1";
|
||||
pname = "ocaml${ocaml.version}-seq";
|
||||
|
||||
meta = {
|
||||
license = lib.licenses.lgpl21;
|
||||
|
|
|
@ -1,18 +1,19 @@
|
|||
{lib, stdenv, fetchurl, ocaml, findlib, camlp4}:
|
||||
{ lib, stdenv, fetchurl, ocaml, findlib, camlp4 }:
|
||||
|
||||
if !lib.versionAtLeast ocaml.version "3.12"
|
||||
|| lib.versionAtLeast ocaml.version "4.03"
|
||||
|| lib.versionAtLeast ocaml.version "4.03"
|
||||
then throw "type_conv-108.08.00 is not available for OCaml ${ocaml.version}" else
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml-type_conv-108.08.00";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ocaml-type_conv";
|
||||
version = "108.08.00";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://ocaml.janestreet.com/ocaml-core/108.08.00/individual/type_conv-108.08.00.tar.gz";
|
||||
url = "https://ocaml.janestreet.com/ocaml-core/${version}/individual/type_conv-${version}.tar.gz";
|
||||
sha256 = "08ysikwwp69zvc147lzzg79nwlrzrk738rj0ggcfadi8h5il42sl";
|
||||
};
|
||||
|
||||
buildInputs = [ocaml findlib camlp4];
|
||||
buildInputs = [ ocaml findlib camlp4 ];
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
|
@ -21,7 +22,7 @@ stdenv.mkDerivation {
|
|||
description = "Support library for OCaml preprocessor type conversions";
|
||||
license = licenses.asl20;
|
||||
branch = "108";
|
||||
platforms = ocaml.meta.platforms or [];
|
||||
platforms = ocaml.meta.platforms or [ ];
|
||||
maintainers = with maintainers; [ maggesi ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,18 +1,19 @@
|
|||
{stdenv, lib, fetchurl, ocaml, findlib, camlp4}:
|
||||
{ stdenv, lib, fetchurl, ocaml, findlib, camlp4 }:
|
||||
|
||||
if !lib.versionAtLeast ocaml.version "4.00"
|
||||
|| lib.versionAtLeast ocaml.version "4.03"
|
||||
|| lib.versionAtLeast ocaml.version "4.03"
|
||||
then throw "type_conv-109.60.01 is not available for OCaml ${ocaml.version}" else
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml-type_conv-109.60.01";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ocaml-type_conv";
|
||||
version = "109.60.01";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/janestreet/type_conv/archive/109.60.01.tar.gz";
|
||||
url = "https://github.com/janestreet/type_conv/archive/${version}.tar.gz";
|
||||
sha256 = "0lpxri68glgq1z2pp02rp45cb909xywbff8d4idljrf6fzzil2zx";
|
||||
};
|
||||
|
||||
buildInputs = [ocaml findlib camlp4];
|
||||
buildInputs = [ ocaml findlib camlp4 ];
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
|
@ -20,7 +21,7 @@ stdenv.mkDerivation {
|
|||
homepage = "http://forge.ocamlcore.org/projects/type-conv/";
|
||||
description = "Support library for OCaml preprocessor type conversions";
|
||||
license = lib.licenses.lgpl21;
|
||||
platforms = ocaml.meta.platforms or [];
|
||||
platforms = ocaml.meta.platforms or [ ];
|
||||
maintainers = with lib.maintainers; [ maggesi ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, opaline, withShared ? true, lib }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml${ocaml.version}-uchar-0.0.2";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ocaml${ocaml.version}-uchar";
|
||||
version = "0.0.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ocaml/uchar/releases/download/v0.0.2/uchar-0.0.2.tbz";
|
||||
url = "https://github.com/ocaml/uchar/releases/download/v${version}/uchar-${version}.tbz";
|
||||
sha256 = "1w2saw7zanf9m9ffvz2lvcxvlm118pws2x1wym526xmydhqpyfa7";
|
||||
};
|
||||
|
||||
|
@ -12,7 +13,7 @@ stdenv.mkDerivation {
|
|||
buildInputs = [ findlib ocaml ocamlbuild ];
|
||||
buildPhase = "ocaml pkg/build.ml native=true native-dynlink=${lib.boolToString withShared}";
|
||||
installPhase = "${opaline}/bin/opaline -libdir $OCAMLFIND_DESTDIR";
|
||||
configurePlatforms = [];
|
||||
configurePlatforms = [ ];
|
||||
|
||||
meta = {
|
||||
description = "Compatibility library for OCaml’s Uchar module";
|
||||
|
|
|
@ -2,12 +2,14 @@
|
|||
|
||||
# This derivation does not provide any Python module and should therefore be called via `all-packages.nix`.
|
||||
let
|
||||
pythonEnv = python3.withPackages(ps: with ps; [ sphinx ]);
|
||||
in stdenv.mkDerivation {
|
||||
name = "pyside-apiextractor-0.10.10";
|
||||
pythonEnv = python3.withPackages (ps: with ps; [ sphinx ]);
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pyside-apiextractor";
|
||||
version = "0.10.10";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/PySide/Apiextractor/archive/0.10.10.tar.gz";
|
||||
url = "https://github.com/PySide/Apiextractor/archive/${version}.tar.gz";
|
||||
sha256 = "1zj8yrxy08iv1pk38djxw3faimm226w6wmi0gm32w4yczblylwz3";
|
||||
};
|
||||
|
||||
|
|
|
@ -2,10 +2,11 @@
|
|||
with lib;
|
||||
|
||||
# v2.1: last version with NHM/WSM arch support
|
||||
stdenv.mkDerivation {
|
||||
name = "iaca-2.1";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "iaca";
|
||||
version = "2.1";
|
||||
src = requireFile {
|
||||
name = "iaca-version-2.1-lin64.zip";
|
||||
name = "iaca-version-${version}-lin64.zip";
|
||||
sha256 = "11s1134ijf66wrc77ksky9mnb0lq6ml6fzmr86a6p6r5xclzay2m";
|
||||
url = "https://software.intel.com/en-us/articles/intel-architecture-code-analyzer-download";
|
||||
};
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{ lib, stdenv, requireFile, unzip }:
|
||||
with lib;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "iaca-3.0";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "iaca";
|
||||
version = "3.0";
|
||||
src = requireFile {
|
||||
name = "iaca-version-v3.0-lin64.zip";
|
||||
name = "iaca-version-v${version}-lin64.zip";
|
||||
sha256 = "0qd81bxg269cwwvfmdp266kvhcl3sdvhrkfqdrbmanawk0w7lvp1";
|
||||
url = "https://software.intel.com/en-us/articles/intel-architecture-code-analyzer-download";
|
||||
};
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
{ buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage {
|
||||
name = "kexpand-unstable-2017-05-12";
|
||||
pname = "kexpand";
|
||||
version = "unstable-2017-05-12";
|
||||
|
||||
goPackagePath = "github.com/kopeio/kexpand";
|
||||
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
{ lib, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage {
|
||||
name = "manul-unstable-2016-09-30";
|
||||
pname = "manul";
|
||||
version = "unstable-2016-09-30";
|
||||
|
||||
goPackagePath = "github.com/kovetskiy/manul";
|
||||
excludedPackages = "tests";
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{lib, stdenv, fetchurl, m4, perl, xz}:
|
||||
{ lib, stdenv, fetchurl, m4, perl, xz }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "autoconf-2.13";
|
||||
pname = "autoconf";
|
||||
version = "2.13";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/autoconf/${name}.tar.gz";
|
||||
url = "mirror://gnu/autoconf/autoconf-${version}.tar.gz";
|
||||
sha256 = "07krzl4czczdsgzrrw9fiqx35xcf32naf751khg821g5pqv12qgh";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{ lib, stdenv, fetchurl, m4, perl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "autoconf-2.64";
|
||||
pname = "autoconf";
|
||||
version = "2.64";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/autoconf/${name}.tar.xz";
|
||||
url = "mirror://gnu/autoconf/autoconf-${version}.tar.xz";
|
||||
sha256 = "0j3jdjpf5ly39dlp0bg70h72nzqr059k0x8iqxvaxf106chpgn9j";
|
||||
};
|
||||
|
||||
|
@ -24,7 +25,7 @@ stdenv.mkDerivation rec {
|
|||
enableParallelBuilding = true;
|
||||
|
||||
# Make the Autotest test suite run in parallel.
|
||||
preCheck =''
|
||||
preCheck = ''
|
||||
export TESTSUITEFLAGS="-j$NIX_BUILD_CORES"
|
||||
'';
|
||||
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
{ lib, stdenv, fetchurl, perl, autoconf }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "automake-1.11.6";
|
||||
pname = "automake";
|
||||
version = "1.11.6";
|
||||
|
||||
# TODO: Remove the `aclocal' wrapper when $ACLOCAL_PATH support is
|
||||
# available upstream; see
|
||||
|
@ -11,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||
setupHook = ./setup-hook.sh;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/automake/${name}.tar.xz";
|
||||
url = "mirror://gnu/automake/automake-${version}.tar.xz";
|
||||
sha256 = "1ffbc6cc41f0ea6c864fbe9485b981679dc5e350f6c4bc6c3512f5a4226936b5";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{ lib, stdenv, fetchurl, perl, autoconf }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "automake-1.15.1";
|
||||
pname = "automake";
|
||||
version = "1.15.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/automake/${name}.tar.xz";
|
||||
url = "mirror://gnu/automake/automake-${version}.tar.xz";
|
||||
sha256 = "1bzd9g32dfm4rsbw93ld9x7b5nc1y6i4m6zp032qf1i28a8s6sxg";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{lib, stdenv, fetchurl, autoreconfHook }:
|
||||
{ lib, stdenv, fetchurl, autoreconfHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gperf-3.0.4";
|
||||
pname = "gperf";
|
||||
version = "3.0.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/gperf/${name}.tar.gz";
|
||||
url = "mirror://gnu/gperf/gperf-${version}.tar.gz";
|
||||
sha256 = "0gnnm8iqcl52m8iha3sxrzrl9mcyhg7lfrhhqgdn4zj00ji14wbn";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{ stdenv, fetchurl, patchelf }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "patchelf-0.9";
|
||||
pname = "patchelf";
|
||||
version = "0.9";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://nixos.org/releases/patchelf/${name}/${name}.tar.bz2";
|
||||
url = "https://nixos.org/releases/patchelf/patchelf-${version}/patchelf-${version}.tar.bz2";
|
||||
sha256 = "a0f65c1ba148890e9f2f7823f4bedf7ecad5417772f64f994004f59a39014f83";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
{ lib, stdenv, fetchurl, jdk, python2 }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "antlr-2.7.7";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "antlr";
|
||||
version = "2.7.7";
|
||||
src = fetchurl {
|
||||
url = "https://www.antlr2.org/download/antlr-2.7.7.tar.gz";
|
||||
url = "https://www.antlr2.org/download/antlr-${version}.tar.gz";
|
||||
sha256 = "1ffvcwdw73id0dk6pj2mlxjvbg0662qacx4ylayqcxgg381fnfl5";
|
||||
};
|
||||
patches = [ ./2.7.7-fixes.patch ];
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{ lib, stdenv, fetchurl, autoreconfHook, flex, bison, texinfo, help2man, m4 }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "flex-2.5.35";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "flex";
|
||||
version = "2.5.35";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/westes/flex/archive/flex-2-5-35.tar.gz";
|
||||
url = "https://github.com/westes/flex/archive/flex-${lib.replaceStrings ["."] ["-"] version}.tar.gz";
|
||||
sha256 = "0wh06nix8bd4w1aq4k2fbbkdq5i30a9lxz3xczf3ff28yy0kfwzm";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{ lib, stdenv, fetchurl, bison, m4 }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "flex-2.6.1";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "flex";
|
||||
version = "2.6.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/westes/flex/releases/download/v2.6.1/flex-2.6.1.tar.gz";
|
||||
url = "https://github.com/westes/flex/releases/download/v${version}/flex-${version}.tar.gz";
|
||||
sha256 = "0fy14c35yz2m1n1m4f02by3501fn0cca37zn7jp8lpp4b3kgjhrw";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue