pkgs/development: followup fmt

This commit is contained in:
Felix Buehler 2021-11-09 20:53:19 +01:00
parent 345d71ffd0
commit 66e4f4b3ee
31 changed files with 124 additions and 89 deletions

View file

@ -1,6 +1,16 @@
{ lib, stdenv, fetchurl { lib
, imake, gccmakedep, bison, flex, pkg-config , stdenv
, xlibsWrapper, libXmu, libXpm, libXp }: , fetchurl
, imake
, gccmakedep
, bison
, flex
, pkg-config
, xlibsWrapper
, libXmu
, libXpm
, libXp
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "Xaw3d"; pname = "Xaw3d";

View file

@ -14,9 +14,9 @@ stdenv.mkDerivation rec {
buildPhase = '' buildPhase = ''
sed -i s/gcc/cc/g Makefile sed -i s/gcc/cc/g Makefile
sed -i s%ncursesw/ncurses.h%ncurses.h% stfl_internals.h 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 sed -i s/-soname/-install_name/ Makefile
'' ) + '' '') + ''
make make
''; '';
@ -28,10 +28,10 @@ stdenv.mkDerivation rec {
''; '';
meta = { 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"; description = "A library which implements a curses-based widget set for text terminals";
maintainers = with lib.maintainers; [ lovek323 ]; maintainers = with lib.maintainers; [ lovek323 ];
license = lib.licenses.lgpl3; license = lib.licenses.lgpl3;
platforms = lib.platforms.unix; platforms = lib.platforms.unix;
}; };
} }

View file

@ -1,9 +1,20 @@
{ lib, stdenv, fetchurl, cmake, qtbase, pkg-config, python3Packages, dbus-glib, dbus { lib
, telepathy-farstream, telepathy-glib }: , stdenv
, fetchurl
, cmake
, qtbase
, pkg-config
, python3Packages
, dbus-glib
, dbus
, telepathy-farstream
, telepathy-glib
}:
let let
inherit (python3Packages) python dbus-python; inherit (python3Packages) python dbus-python;
in stdenv.mkDerivation rec { in
stdenv.mkDerivation rec {
pname = "telepathy-qt"; pname = "telepathy-qt";
version = "0.9.8"; version = "0.9.8";

View file

@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ tokyocabinet ]; buildInputs = [ tokyocabinet ];
doCheck = false; # FIXME doCheck = false; # FIXME
meta = { meta = {
description = "Network interface of the Tokyo Cabinet DBM"; description = "Network interface of the Tokyo Cabinet DBM";
@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
license = lib.licenses.lgpl21Plus; license = lib.licenses.lgpl21Plus;
platforms = lib.platforms.gnu ++ lib.platforms.linux; # arbitrary choice platforms = lib.platforms.gnu ++ lib.platforms.linux; # arbitrary choice
maintainers = [ ]; maintainers = [ ];
}; };
} }

View file

@ -1,4 +1,4 @@
{stdenv, fetchurl, unzip, makeWrapper}: { stdenv, fetchurl, unzip, makeWrapper }:
let let
# Gradle is a build system that bootstraps itself. This is what it actually # Gradle is a build system that bootstraps itself. This is what it actually
@ -56,15 +56,18 @@ stdenv.mkDerivation {
pname = "mobilesdk"; pname = "mobilesdk";
version = "7.5.1.GA"; version = "7.5.1.GA";
src = if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux") then fetchurl { src =
url = "https://builds.appcelerator.com/mobile/7_5_X/mobilesdk-7.5.1.v20190124152315-linux.zip"; if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux") then
sha256 = "1ihyh6szl9a2gbdgv13msd3g7i3xi9ifmgsh6v562hqlfi4lixng"; fetchurl {
} url = "https://builds.appcelerator.com/mobile/7_5_X/mobilesdk-7.5.1.v20190124152315-linux.zip";
else if stdenv.system == "x86_64-darwin" then fetchurl { sha256 = "1ihyh6szl9a2gbdgv13msd3g7i3xi9ifmgsh6v562hqlfi4lixng";
url = "https://builds.appcelerator.com/mobile/7_5_X/mobilesdk-7.5.1.v20190124152315-osx.zip"; }
sha256 = "1whs1j7fkk2hxr4nxq50d7ic5wj83b1i1jl0p722sqbvkmgxssa2"; else if stdenv.system == "x86_64-darwin" then
} fetchurl {
else throw "Platform: ${stdenv.system} not supported!"; 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 ]; nativeBuildInputs = [ makeWrapper unzip ];

View file

@ -1,4 +1,4 @@
{stdenv, lib, fetchurl, unzip, makeWrapper}: { stdenv, lib, fetchurl, unzip, makeWrapper }:
let let
# Gradle is a build system that bootstraps itself. This is what it actually # Gradle is a build system that bootstraps itself. This is what it actually
@ -56,15 +56,18 @@ stdenv.mkDerivation {
pname = "mobilesdk"; pname = "mobilesdk";
version = "8.2.1.GA"; version = "8.2.1.GA";
src = if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux") then fetchurl { src =
url = "https://builds.appcelerator.com/mobile/8_2_X/mobilesdk-8.2.1.v20191025070136-linux.zip"; if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux") then
sha256 = "1nvcmm6cby6bmwdiacq46n5y4zjpz9qlipakvglw27j3p4rbmkwl"; fetchurl {
} url = "https://builds.appcelerator.com/mobile/8_2_X/mobilesdk-8.2.1.v20191025070136-linux.zip";
else if stdenv.system == "x86_64-darwin" then fetchurl { sha256 = "1nvcmm6cby6bmwdiacq46n5y4zjpz9qlipakvglw27j3p4rbmkwl";
url = "https://builds.appcelerator.com/mobile/8_2_X/mobilesdk-8.2.1.v20191025070136-osx.zip"; }
sha256 = "1nxwmyw3vqc5wghj38kpksisy0i808x0x3pa8w3p290w709g311l"; else if stdenv.system == "x86_64-darwin" then
} fetchurl {
else throw "Platform: ${stdenv.system} not supported!"; 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 ]; nativeBuildInputs = [ makeWrapper unzip ];

View file

@ -1,4 +1,4 @@
{stdenv, lib, fetchurl, unzip, makeWrapper}: { stdenv, lib, fetchurl, unzip, makeWrapper }:
let let
# Gradle is a build system that bootstraps itself. This is what it actually # Gradle is a build system that bootstraps itself. This is what it actually
@ -56,15 +56,18 @@ stdenv.mkDerivation {
pname = "mobilesdk"; pname = "mobilesdk";
version = "8.3.2.GA"; version = "8.3.2.GA";
src = if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux") then fetchurl { src =
url = "https://builds.appcelerator.com/mobile/8_3_X/mobilesdk-8.3.2.v20200117111803-linux.zip"; if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux") then
sha256 = "04pfw21jrx9w259lphynwykqjk4c9hm0zix4d40s7mf8mmh3xdx9"; fetchurl {
} url = "https://builds.appcelerator.com/mobile/8_3_X/mobilesdk-8.3.2.v20200117111803-linux.zip";
else if stdenv.system == "x86_64-darwin" then fetchurl { sha256 = "04pfw21jrx9w259lphynwykqjk4c9hm0zix4d40s7mf8mmh3xdx9";
url = "https://builds.appcelerator.com/mobile/8_3_X/mobilesdk-8.3.2.v20200117111803-osx.zip"; }
sha256 = "1zflq5hc96lrriw71ya623kkskkisi9yayg8qs03zimi0gksizxw"; else if stdenv.system == "x86_64-darwin" then
} fetchurl {
else throw "Platform: ${stdenv.system} not supported!"; 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 ]; nativeBuildInputs = [ makeWrapper unzip ];

View file

@ -20,7 +20,8 @@ stdenv.mkDerivation rec {
buildInputs = [ ocaml findlib ocamlbuild which camlp4 ]; 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"; url = "https://raw.githubusercontent.com/ocaml/opam-repository/master/packages/bolt/bolt.1.4/files/opam.patch";
sha256 = "08cl39r98w312sw23cskd5wian6zg20isn9ki41hnbcgkazhi7pb"; sha256 = "08cl39r98w312sw23cskd5wian6zg20isn9ki41hnbcgkazhi7pb";
}) })
@ -43,7 +44,7 @@ EOF
# option. Installation is handled by ocamlfind. # option. Installation is handled by ocamlfind.
dontAddPrefix = true; dontAddPrefix = true;
dontAddStaticConfigureFlags = true; dontAddStaticConfigureFlags = true;
configurePlatforms = []; configurePlatforms = [ ];
createFindlibDestdir = true; createFindlibDestdir = true;
@ -60,7 +61,7 @@ EOF
modeled after the famous log4j logging framework for Java. modeled after the famous log4j logging framework for Java.
''; '';
license = licenses.lgpl3; license = licenses.lgpl3;
platforms = ocaml.meta.platforms or []; platforms = ocaml.meta.platforms or [ ];
maintainers = [ maintainers.jirkamarsik ]; maintainers = [ maintainers.jirkamarsik ];
}; };
} }

View file

@ -1,4 +1,4 @@
{stdenv, lib, fetchurl, ocaml, findlib}: { stdenv, lib, fetchurl, ocaml, findlib }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "ocaml-calendar"; pname = "ocaml-calendar";
@ -7,17 +7,17 @@ stdenv.mkDerivation rec {
src = fetchurl { src = fetchurl {
url = "https://forge.ocamlcore.org/frs/download.php/915/calendar-${version}.tar.bz2"; url = "https://forge.ocamlcore.org/frs/download.php/915/calendar-${version}.tar.bz2";
sha256 = "04pvhwb664g3s644c7v7419a3kvf5s3pynkhmk5j59dvlfm1yf0f"; sha256 = "04pvhwb664g3s644c7v7419a3kvf5s3pynkhmk5j59dvlfm1yf0f";
}; };
buildInputs = [ocaml findlib]; buildInputs = [ ocaml findlib ];
createFindlibDestdir = true; createFindlibDestdir = true;
meta = { meta = {
homepage = "https://forge.ocamlcore.org/projects/calendar/"; homepage = "https://forge.ocamlcore.org/projects/calendar/";
description = "An Objective Caml library managing dates and times"; description = "An Objective Caml library managing dates and times";
license = "LGPL"; license = "LGPL";
platforms = ocaml.meta.platforms or []; platforms = ocaml.meta.platforms or [ ];
maintainers = [ maintainers = [
lib.maintainers.gal_bolle lib.maintainers.gal_bolle
]; ];

View file

@ -28,6 +28,6 @@ stdenv.mkDerivation rec {
description = "A front-end for the C programming language that facilitates program analysis and transformation"; description = "A front-end for the C programming language that facilitates program analysis and transformation";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = [ maintainers.vbgl ]; maintainers = [ maintainers.vbgl ];
platforms = ocaml.meta.platforms or []; platforms = ocaml.meta.platforms or [ ];
}; };
} }

View file

@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
meta = { meta = {
homepage = "http://config-file.forge.ocamlcore.org/"; 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"; description = "An OCaml library used to manage the configuration file(s) of an application";
license = lib.licenses.lgpl2Plus; license = lib.licenses.lgpl2Plus;
maintainers = with lib.maintainers; [ vbgl ]; maintainers = with lib.maintainers; [ vbgl ];

View file

@ -27,6 +27,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/Chris00/ocaml-csv"; homepage = "https://github.com/Chris00/ocaml-csv";
license = licenses.lgpl21; license = licenses.lgpl21;
maintainers = [ maintainers.vbgl ]; maintainers = [ maintainers.vbgl ];
platforms = ocaml.meta.platforms or []; platforms = ocaml.meta.platforms or [ ];
}; };
} }

View file

@ -24,6 +24,6 @@ stdenv.mkDerivation rec {
homepage = "https://ocaml.janestreet.com/"; homepage = "https://ocaml.janestreet.com/";
description = "Quotation expanders for enumerating finite types"; description = "Quotation expanders for enumerating finite types";
license = lib.licenses.asl20; license = lib.licenses.asl20;
platforms = ocaml.meta.platforms or []; platforms = ocaml.meta.platforms or [ ];
}; };
} }

View file

@ -25,6 +25,6 @@ stdenv.mkDerivation rec {
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"; 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; license = licenses.asl20;
maintainers = [ maintainers.vbgl ]; maintainers = [ maintainers.vbgl ];
platforms = ocaml.meta.platforms or []; platforms = ocaml.meta.platforms or [ ];
}; };
} }

View file

@ -21,7 +21,7 @@ stdenv.mkDerivation {
meta = { meta = {
description = "Fontconfig bindings for OCaml"; description = "Fontconfig bindings for OCaml";
license = lib.licenses.gpl2Plus; license = lib.licenses.gpl2Plus;
platforms = ocaml.meta.platforms or []; platforms = ocaml.meta.platforms or [ ];
maintainers = with lib.maintainers; [ vbgl ]; maintainers = with lib.maintainers; [ vbgl ];
}; };
} }

View file

@ -9,10 +9,12 @@ stdenv.mkDerivation rec {
sha256 = "0jhzgiypmh6hwsv1zpiq77fi0cvcmwbiy5x0yg7mz6p3dh1dmkns"; sha256 = "0jhzgiypmh6hwsv1zpiq77fi0cvcmwbiy5x0yg7mz6p3dh1dmkns";
}; };
patches = [ (fetchpatch { patches = [
url = "https://raw.githubusercontent.com/ocaml/opam-repository/master/packages/ocaml-inifiles/ocaml-inifiles.1.2/files/ocaml-inifiles.diff"; (fetchpatch {
sha256 = "037kk3172s187w8vwsykdxlpklxzc7m7np57sapk499d8adzdgwn"; 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 ]; buildInputs = [ ocaml findlib ];
propagatedBuildInputs = [ ocaml_pcre ]; propagatedBuildInputs = [ ocaml_pcre ];

View file

@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
createFindlibDestdir = true; createFindlibDestdir = true;
meta = { meta = {
platforms = ocaml.meta.platforms or []; platforms = ocaml.meta.platforms or [ ];
maintainers = with lib.maintainers; [ vbgl ]; maintainers = with lib.maintainers; [ vbgl ];
homepage = "http://gtk-extras.forge.ocamlcore.org/"; homepage = "http://gtk-extras.forge.ocamlcore.org/";
description = "A collection of libraries and modules useful when developing OCaml/LablGtk2 applications"; description = "A collection of libraries and modules useful when developing OCaml/LablGtk2 applications";

View file

@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
description = "Macros for Caml Queries"; description = "Macros for Caml Queries";
homepage = "https://github.com/ocsigen/macaque"; homepage = "https://github.com/ocsigen/macaque";
license = licenses.lgpl2; license = licenses.lgpl2;
platforms = ocaml.meta.platforms or []; platforms = ocaml.meta.platforms or [ ];
maintainers = with maintainers; [ vbgl ]; maintainers = with maintainers; [ vbgl ];
}; };
} }

View file

@ -21,6 +21,6 @@ stdenv.mkDerivation rec {
license = lib.licenses.mit; license = lib.licenses.mit;
homepage = "http://ygrek.org.ua/p/ocurl/"; homepage = "http://ygrek.org.ua/p/ocurl/";
maintainers = with lib.maintainers; [ bennofs ]; maintainers = with lib.maintainers; [ bennofs ];
platforms = ocaml.meta.platforms or []; platforms = ocaml.meta.platforms or [ ];
}; };
} }

View file

@ -18,16 +18,17 @@ stdenv.mkDerivation rec {
createFindlibDestdir = true; createFindlibDestdir = true;
configurePhase = "ocaml setup.ml -configure"; configurePhase = "ocaml setup.ml -configure";
buildPhase = "ocaml setup.ml -build"; buildPhase = "ocaml setup.ml -build";
installPhase = "ocaml setup.ml -install"; installPhase = "ocaml setup.ml -install";
meta = with lib; { meta = with lib; {
description = "Store data using OCaml notation"; description = "Store data using OCaml notation";
homepage = "https://forge.ocamlcore.org/projects/odn/"; homepage = "https://forge.ocamlcore.org/projects/odn/";
license = licenses.lgpl21; license = licenses.lgpl21;
platforms = ocaml.meta.platforms or []; platforms = ocaml.meta.platforms or [ ];
maintainers = with maintainers; [ maintainers = with maintainers; [
vbgl maggesi vbgl
maggesi
]; ];
}; };
} }

View file

@ -36,11 +36,11 @@ stdenv.mkDerivation rec {
ocamlfind install optcomp META _build/src/optcomp.{a,cma,cmxa,cmxs} _build/src/pa_optcomp.{cmi,cmx,mli} 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"; homepage = "https://github.com/diml/optcomp";
description = "Optional compilation for OCaml with cpp-like directives"; description = "Optional compilation for OCaml with cpp-like directives";
license = lib.licenses.bsd3; license = lib.licenses.bsd3;
platforms = ocaml.meta.platforms or []; platforms = ocaml.meta.platforms or [ ];
maintainers = [ maintainers = [
lib.maintainers.gal_bolle lib.maintainers.gal_bolle
]; ];

View file

@ -1,4 +1,4 @@
{lib, 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. # This is the original pycaml version with patches from debian.
@ -42,6 +42,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/chemoelectric/pycaml"; homepage = "https://github.com/chemoelectric/pycaml";
description = "Bindings for python and ocaml"; description = "Bindings for python and ocaml";
license = "LGPL"; license = "LGPL";
platforms = ocaml.meta.platforms or []; platforms = ocaml.meta.platforms or [ ];
}; };
} }

View file

@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
homepage = "https://erratique.ch/software/react"; homepage = "https://erratique.ch/software/react";
description = "Applicative events and signals for OCaml"; description = "Applicative events and signals for OCaml";
license = licenses.bsd3; license = licenses.bsd3;
platforms = ocaml.meta.platforms or []; platforms = ocaml.meta.platforms or [ ];
maintainers = with maintainers; [ maggesi vbmithr gal_bolle]; maintainers = with maintainers; [ maggesi vbmithr gal_bolle ];
}; };
} }

View file

@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
description = "An OCaml module for functional reactive programming (FRP) based on React"; description = "An OCaml module for functional reactive programming (FRP) based on React";
homepage = "https://github.com/ocsigen/reactiveData"; homepage = "https://github.com/ocsigen/reactiveData";
license = licenses.lgpl21; license = licenses.lgpl21;
platforms = ocaml.meta.platforms or []; platforms = ocaml.meta.platforms or [ ];
maintainers = with maintainers; [ vbgl ]; maintainers = with maintainers; [ vbgl ];
}; };
} }

View file

@ -1,7 +1,7 @@
{lib, stdenv, fetchurl, ocaml, findlib, camlp4}: { lib, stdenv, fetchurl, ocaml, findlib, camlp4 }:
if !lib.versionAtLeast ocaml.version "3.12" 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 then throw "type_conv-108.08.00 is not available for OCaml ${ocaml.version}" else
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
sha256 = "08ysikwwp69zvc147lzzg79nwlrzrk738rj0ggcfadi8h5il42sl"; sha256 = "08ysikwwp69zvc147lzzg79nwlrzrk738rj0ggcfadi8h5il42sl";
}; };
buildInputs = [ocaml findlib camlp4]; buildInputs = [ ocaml findlib camlp4 ];
createFindlibDestdir = true; createFindlibDestdir = true;
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
description = "Support library for OCaml preprocessor type conversions"; description = "Support library for OCaml preprocessor type conversions";
license = licenses.asl20; license = licenses.asl20;
branch = "108"; branch = "108";
platforms = ocaml.meta.platforms or []; platforms = ocaml.meta.platforms or [ ];
maintainers = with maintainers; [ maggesi ]; maintainers = with maintainers; [ maggesi ];
}; };
} }

View file

@ -1,7 +1,7 @@
{stdenv, lib, fetchurl, ocaml, findlib, camlp4}: { stdenv, lib, fetchurl, ocaml, findlib, camlp4 }:
if !lib.versionAtLeast ocaml.version "4.00" 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 then throw "type_conv-109.60.01 is not available for OCaml ${ocaml.version}" else
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
sha256 = "0lpxri68glgq1z2pp02rp45cb909xywbff8d4idljrf6fzzil2zx"; sha256 = "0lpxri68glgq1z2pp02rp45cb909xywbff8d4idljrf6fzzil2zx";
}; };
buildInputs = [ocaml findlib camlp4]; buildInputs = [ ocaml findlib camlp4 ];
createFindlibDestdir = true; createFindlibDestdir = true;
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
homepage = "http://forge.ocamlcore.org/projects/type-conv/"; homepage = "http://forge.ocamlcore.org/projects/type-conv/";
description = "Support library for OCaml preprocessor type conversions"; description = "Support library for OCaml preprocessor type conversions";
license = lib.licenses.lgpl21; license = lib.licenses.lgpl21;
platforms = ocaml.meta.platforms or []; platforms = ocaml.meta.platforms or [ ];
maintainers = with lib.maintainers; [ maggesi ]; maintainers = with lib.maintainers; [ maggesi ];
}; };
} }

View file

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
buildInputs = [ findlib ocaml ocamlbuild ]; buildInputs = [ findlib ocaml ocamlbuild ];
buildPhase = "ocaml pkg/build.ml native=true native-dynlink=${lib.boolToString withShared}"; buildPhase = "ocaml pkg/build.ml native=true native-dynlink=${lib.boolToString withShared}";
installPhase = "${opaline}/bin/opaline -libdir $OCAMLFIND_DESTDIR"; installPhase = "${opaline}/bin/opaline -libdir $OCAMLFIND_DESTDIR";
configurePlatforms = []; configurePlatforms = [ ];
meta = { meta = {
description = "Compatibility library for OCamls Uchar module"; description = "Compatibility library for OCamls Uchar module";

View file

@ -2,8 +2,9 @@
# This derivation does not provide any Python module and should therefore be called via `all-packages.nix`. # This derivation does not provide any Python module and should therefore be called via `all-packages.nix`.
let let
pythonEnv = python3.withPackages(ps: with ps; [ sphinx ]); pythonEnv = python3.withPackages (ps: with ps; [ sphinx ]);
in stdenv.mkDerivation rec { in
stdenv.mkDerivation rec {
pname = "pyside-apiextractor"; pname = "pyside-apiextractor";
version = "0.10.10"; version = "0.10.10";

View file

@ -1,4 +1,4 @@
{lib, stdenv, fetchurl, m4, perl, xz}: { lib, stdenv, fetchurl, m4, perl, xz }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "autoconf"; pname = "autoconf";

View file

@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
# Make the Autotest test suite run in parallel. # Make the Autotest test suite run in parallel.
preCheck ='' preCheck = ''
export TESTSUITEFLAGS="-j$NIX_BUILD_CORES" export TESTSUITEFLAGS="-j$NIX_BUILD_CORES"
''; '';

View file

@ -1,4 +1,4 @@
{lib, stdenv, fetchurl, autoreconfHook }: { lib, stdenv, fetchurl, autoreconfHook }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gperf"; pname = "gperf";