Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge pull request #145239 from Stunkymonkey/development-pname-version-1

authored by

Sandro and committed by
GitHub
22a4fcfd d2b9fe98

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