pkgs/development: rename name to pname&version

This commit is contained in:
Felix Buehler 2021-11-09 20:42:54 +01:00
parent 7a7550f214
commit 345d71ffd0
52 changed files with 196 additions and 130 deletions

View file

@ -2,10 +2,12 @@
, imake, gccmakedep, bison, flex, pkg-config
, xlibsWrapper, libXmu, libXpm, libXp }:
stdenv.mkDerivation {
name = "Xaw3d-1.6.3";
stdenv.mkDerivation rec {
pname = "Xaw3d";
version = "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;

View file

@ -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";
};

View file

@ -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;

View file

@ -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";
};

View file

@ -4,10 +4,11 @@
let
inherit (python3Packages) python dbus-python;
in stdenv.mkDerivation rec {
name = "telepathy-qt-0.9.8";
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";
};

View file

@ -1,10 +1,11 @@
{ 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";
};

View file

@ -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";

View file

@ -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";
};

View file

@ -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";
};

View file

@ -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";
};

View file

@ -53,7 +53,9 @@ let
};
in
stdenv.mkDerivation {
name = "mobilesdk-7.5.1.GA";
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";

View file

@ -53,7 +53,9 @@ let
};
in
stdenv.mkDerivation {
name = "mobilesdk-8.2.1.GA";
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";

View file

@ -53,7 +53,9 @@ let
};
in
stdenv.mkDerivation {
name = "mobilesdk-8.3.2.GA";
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";

View file

@ -10,11 +10,11 @@ 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";
};

View file

@ -1,9 +1,11 @@
{stdenv, lib, fetchurl, ocaml, findlib}:
stdenv.mkDerivation {
name = "ocaml-calendar-2.5";
stdenv.mkDerivation rec {
pname = "ocaml-calendar";
version = "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";
};

View file

@ -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";
};

View file

@ -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";
};

View file

@ -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";
};

View file

@ -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";
};

View file

@ -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";
};

View file

@ -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";

View file

@ -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";
};

View file

@ -1,10 +1,11 @@
{ 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";
};

View file

@ -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";
};

View file

@ -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";
};

View file

@ -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";
};

View file

@ -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";
};

View file

@ -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";
};

View file

@ -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";
};

View file

@ -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";
};

View file

@ -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";
};

View file

@ -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";
})
];

View file

@ -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";
};

View file

@ -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";
};

View file

@ -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;

View file

@ -4,11 +4,12 @@ if !lib.versionAtLeast ocaml.version "3.12"
|| 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";
};

View file

@ -4,11 +4,12 @@ if !lib.versionAtLeast ocaml.version "4.00"
|| 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";
};

View file

@ -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";
};

View file

@ -3,11 +3,12 @@
# 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";
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";
};

View file

@ -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";
};

View file

@ -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";
};

View file

@ -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";

View file

@ -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";

View file

@ -1,10 +1,11 @@
{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";
};

View file

@ -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";
};

View file

@ -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";
};

View file

@ -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";
};

View file

@ -1,10 +1,11 @@
{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";
};

View file

@ -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";
};

View file

@ -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 ];

View file

@ -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";
};

View file

@ -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";
};