git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #41009 from matthewbauer/normalize-names

Add versions to packages missing it

commit98f2f08b4b9b204912c1c097a08cd26151fae0bb authorMatthew Justin Bauer <mjbauer95@gmail.com> dateFri 25 May 2018, 16:32 (9 years ago) parent11d26c7ee8fa75
54 files changed+210−176
pkgs/applications/altcoins/dapp.nix+1−1 pkgs/applications/altcoins/mist.nix+3−3 pkgs/applications/audio/renoise/default.nix+17−9 pkgs/applications/editors/neovim/wrapper.nix+1−1 pkgs/applications/editors/okteta/default.nix+24−17 pkgs/applications/graphics/gimp/plugins/default.nix+1−2 pkgs/applications/networking/cluster/terraform/default.nix+3−3 pkgs/applications/networking/gmailieer/default.nix+1−1 pkgs/applications/office/atlassian-cli/default.nix+27−9 pkgs/applications/science/machine-learning/torch/torch-distro.nix+2 pkgs/applications/science/misc/simgrid/default.nix+54−60 pkgs/applications/version-management/git-and-tools/bfg-repo-cleaner/default.nix+1−1 pkgs/applications/version-management/git-and-tools/gitweb/default.nix+1−1 pkgs/applications/video/lightworks/default.nix+1−1 pkgs/data/fonts/liberationsansnarrow/default.nix+1−1 pkgs/data/fonts/meslo-lg/default.nix+1−1 pkgs/data/fonts/mph-2b-damase/default.nix+1−1 pkgs/development/compilers/adobe-flex-sdk/default.nix+1−1 pkgs/development/compilers/emscripten/fastcomp/default.nix+1−1 pkgs/development/idris-modules/with-packages.nix+3−3 pkgs/development/libraries/c-blosc/default.nix+1−1 pkgs/development/libraries/languagemachines/frog.nix+1−1 pkgs/development/libraries/languagemachines/frogdata.nix+1−1 pkgs/development/libraries/languagemachines/libfolia.nix+1−1 pkgs/development/libraries/languagemachines/mbt.nix+1−1 pkgs/development/libraries/languagemachines/ticcutils.nix+1−1 pkgs/development/libraries/languagemachines/timbl.nix+1−1 pkgs/development/libraries/languagemachines/timblserver.nix+1−1 pkgs/development/libraries/languagemachines/ucto.nix+1−1 pkgs/development/libraries/languagemachines/uctodata.nix+1−1 pkgs/development/libraries/libblocksruntime/default.nix+1−1 pkgs/development/libraries/physics/nlojet/default.nix+1−1 pkgs/development/libraries/qtinstaller/default.nix+1−1 pkgs/development/libraries/re2/default.nix+2−2 pkgs/development/tools/build-managers/gn/default.nix+2−2 pkgs/development/tools/erlang/cuter/default.nix+1−1 pkgs/development/tools/imatix_gsl/default.nix+1−1 pkgs/development/tools/yuicompressor/default.nix+14−12 pkgs/games/quake2/yquake2/wrapper.nix+1−1 pkgs/misc/cups/drivers/brlaser/default.nix+4−3 pkgs/misc/cups/drivers/estudio/default.nix+2−2 pkgs/misc/lilypond/with-fonts.nix+3−3 pkgs/misc/themes/gnome-breeze/default.nix+1−1 pkgs/os-specific/linux/systemd/cryptsetup-generator.nix+1−1 pkgs/servers/x11/xquartz/default.nix+1−1 pkgs/tools/audio/mpdris2/default.nix+3−2 pkgs/tools/misc/buildtorrent/default.nix+3−3 pkgs/tools/misc/notify-desktop/default.nix+1−1 pkgs/tools/networking/dnstracer/default.nix+2−2 pkgs/tools/networking/zerotierone/default.nix+1−1 pkgs/tools/security/nitrokey-app/default.nix+1−1 pkgs/tools/security/nitrokey-app/udev-rules.nix+1−1 pkgs/tools/text/jumanpp/default.nix+2−2 pkgs/top-level/unix-tools.nix+5−3
pkgs/applications/altcoins/dapp.nix+1−1
@@ -2,7 +2,7 @@
22, seth, git, solc, shellcheck, nodejs, hevm }:
33
44stdenv.mkDerivation rec {
5− name = "dapp";
5+ name = "dapp-${version}";
66 version = "0.5.7";
77
88 src = fetchFromGitHub {
pkgs/applications/altcoins/mist.nix+3−3
@@ -25,7 +25,7 @@ let
2525 categories = "Network;";
2626 };
2727
28− mist = stdenv.mkDerivation {
28+ mist = stdenv.lib.appendToName "unwrapped" (stdenv.mkDerivation {
2929 inherit name version;
3030
3131 src = {
@@ -53,10 +53,10 @@ let
5353 --set-rpath "${atomEnv.libPath}:$out/lib/mist" \
5454 $out/lib/mist/mist
5555 '';
56− };
56+ });
5757in
5858buildFHSUserEnv {
59− name = "mist";
59+ name = "mist-${stdenv.lib.getVersion mist}";
6060
6161 targetPkgs = pkgs: with pkgs; [
6262 mist
pkgs/applications/audio/renoise/default.nix+17−9
@@ -1,4 +1,6 @@
1−{ stdenv, lib, fetchurl, libX11, libXext, libXcursor, libXrandr, libjack2, alsaLib, releasePath ? null }:
1+{ stdenv, fetchurl, libX11, libXext, libXcursor, libXrandr, libjack2, alsaLib, releasePath ? null }:
2+
3+with stdenv.lib;
24
35# To use the full release version:
46# 1) Sign into https://backstage.renoise.com and download the appropriate (x86 or x86_64) version
@@ -6,31 +8,35 @@
68# 2) Override the releasePath attribute to point to the location of the newly downloaded bundle.
79# Note: Renoise creates an individual build for each license which screws somewhat with the
810# use of functions like requireFile as the hash will be different for every user.
9−let fileversion = "3_1_0";
11+let
12+ urlVersion = replaceStrings [ "." ] [ "_" ];
1013in
14+
1115stdenv.mkDerivation rec {
12− name = "renoise";
13− buildInputs = [ libX11 libXext libXcursor libXrandr alsaLib libjack2 ];
16+ name = "renoise-${version}";
17+ version = "3.1.0";
1418
1519 src =
1620 if stdenv.system == "x86_64-linux" then
1721 if builtins.isNull releasePath then
1822 fetchurl {
19− url = "http://files.renoise.com/demo/Renoise_${fileversion}_Demo_x86_64.tar.bz2";
20− sha256 = "0pan68fr22xbj7a930y29527vpry3f07q3i9ya4fp6g7aawffsga";
23+ url = "http://files.renoise.com/demo/Renoise_${urlVersion version}_Demo_x86_64.tar.bz2";
24+ sha256 = "0pan68fr22xbj7a930y29527vpry3f07q3i9ya4fp6g7aawffsga";
2125 }
2226 else
2327 releasePath
2428 else if stdenv.system == "i686-linux" then
2529 if builtins.isNull releasePath then
2630 fetchurl {
27− url = "http://files.renoise.com/demo/Renoise_${fileversion}_Demo_x86.tar.bz2";
28− sha256 = "1lccjj4k8hpqqxxham5v01v2rdwmx3c5kgy1p9lqvzqma88k4769";
31+ url = "http://files.renoise.com/demo/Renoise_${urlVersion version}_Demo_x86.tar.bz2";
32+ sha256 = "1lccjj4k8hpqqxxham5v01v2rdwmx3c5kgy1p9lqvzqma88k4769";
2933 }
3034 else
3135 releasePath
3236 else throw "Platform is not supported by Renoise";
3337
38+ buildInputs = [ libX11 libXext libXcursor libXrandr alsaLib libjack2 ];
39+
3440 installPhase = ''
3541 cp -r Resources $out
3642
@@ -55,6 +61,8 @@ stdenv.mkDerivation rec {
5561 meta = {
5662 description = "Modern tracker-based DAW";
5763 homepage = http://www.renoise.com/;
58− license = stdenv.lib.licenses.unfree;
64+ license = licenses.unfree;
65+ maintainers = [];
66+ platforms = [ "i686-linux" "x86_64-linux" ];
5967 };
6068}
pkgs/applications/editors/neovim/wrapper.nix+1−1
@@ -51,7 +51,7 @@ let
5151
5252 in
5353 stdenv.mkDerivation {
54− inherit name;
54+ name = "neovim-${stdenv.lib.getVersion neovim}";
5555 buildCommand = let bin="${neovim}/bin/nvim"; in ''
5656 if [ ! -x "${bin}" ]
5757 then
pkgs/applications/editors/okteta/default.nix+24−17
@@ -1,27 +1,34 @@
1−{
2− mkDerivation, lib, fetchurl,
3− extra-cmake-modules, kdoctools,
4− qtscript, kconfig, kinit, karchive, kcrash,
5− kcmutils, kconfigwidgets, knewstuff, kparts, qca-qt5,
6− shared-mime-info
7−}:
1+{ stdenv, fetchurl, extra-cmake-modules, kdoctools, qtscript, kconfig
2+, kinit, karchive, kcrash, kcmutils, kconfigwidgets, knewstuff, kparts
3+, qca-qt5, shared-mime-info }:
84
9−let
5+stdenv.mkDerivation rec {
6+ name = "okteta-${version}";
107 version = "17.12.3";
11−in mkDerivation rec {
12− name = "okteta";
8+
139 src = fetchurl {
14− url = "mirror://kde/stable/applications/${version}/src/${name}-${version}.tar.xz";
10+ url = "mirror://kde/stable/applications/${version}/src/${name}.tar.xz";
1511 sha256 = "03wsv83l1cay2dpcsksad124wzan7kh8zxdw1h0yicn398kdbck4";
1612 };
17− meta = {
18− license = with lib.licenses; [ gpl2 ];
19− maintainers = with lib.maintainers; [ peterhoeg bkchr ];
20− };
13+
2114 nativeBuildInputs = [ qtscript extra-cmake-modules kdoctools ];
2215 buildInputs = [ shared-mime-info ];
16+
2317 propagatedBuildInputs = [
24− kconfig kinit kcmutils kconfigwidgets knewstuff kparts qca-qt5
25− karchive kcrash
18+ kconfig
19+ kinit
20+ kcmutils
21+ kconfigwidgets
22+ knewstuff
23+ kparts
24+ qca-qt5
25+ karchive
26+ kcrash
2627 ];
28+
29+ meta = with stdenv.lib; {
30+ license = licenses.gpl2;
31+ maintainers = with maintainers; [ peterhoeg bkchr ];
32+ platforms = platforms.linux;
33+ };
2734}
pkgs/applications/graphics/gimp/plugins/default.nix+1−2
@@ -22,9 +22,8 @@ let
2222 '';
2323 }
2424 // a
25− # don't call this gimp-* unless you want nix replace gimp by a plugin :-)
2625 // {
27− name = "${a.name}-${gimp.name}-plugin";
26+ name = "gimp-plugin-${a.name}";
2827 buildInputs = [ gimp gimp.gtk glib ] ++ (a.buildInputs or []);
2928 nativeBuildInputs = [ pkgconfig intltool ] ++ (a.nativeBuildInputs or []);
3029 }
pkgs/applications/networking/cluster/terraform/default.nix+3−3
@@ -60,8 +60,8 @@ let
6060 # of plugins, which might be counterintuitive if someone just wants a vanilla Terraform.
6161 if actualPlugins == []
6262 then terraform.overrideAttrs (orig: { passthru = orig.passthru // passthru; })
63− else stdenv.mkDerivation {
64− name = "${terraform.name}-with-plugins";
63+ else lib.appendToName "with-plugins "(stdenv.mkDerivation {
64+ inherit (terraform) name;
6565 buildInputs = [ makeWrapper ];
6666
6767 buildCommand = ''
@@ -72,7 +72,7 @@ let
7272 '';
7373
7474 inherit passthru;
75− };
75+ });
7676 in withPlugins (_: []);
7777
7878 plugins = import ./providers { inherit stdenv lib buildGoPackage fetchFromGitHub; };
pkgs/applications/networking/gmailieer/default.nix+1−1
@@ -1,7 +1,7 @@
11{ stdenv, fetchFromGitHub, python3Packages }:
22
33python3Packages.buildPythonApplication rec {
4− name = "gmailieer";
4+ name = "gmailieer-${version}";
55 version = "0.6";
66
77 src = fetchFromGitHub {
pkgs/applications/office/atlassian-cli/default.nix+27−9
@@ -1,14 +1,30 @@
11{ stdenv, fetchzip, jre }:
2−stdenv.mkDerivation {
3− name = "atlassian-cli";
2+
3+stdenv.mkDerivation rec {
4+ name = "atlassian-cli-${version}";
45 version = "7.8.0";
6+
57 src = fetchzip {
6− url = https://bobswift.atlassian.net/wiki/download/attachments/16285777/atlassian-cli-7.8.0-distribution.zip;
7− sha256 = "111s4d9m6vxq8jwh1d6ar1f4n5zmyjg7gi2vl3aq63kxbfld9vw7";
8+ url = "https://bobswift.atlassian.net/wiki/download/attachments/16285777/${name}-distribution.zip";
9+ sha256 = "111s4d9m6vxq8jwh1d6ar1f4n5zmyjg7gi2vl3aq63kxbfld9vw7";
810 extraPostFetch = "chmod go-w $out";
911 };
10− tools = [ "agile" "bamboo" "bitbucket" "confluence" "csv"
11− "hipchat" "jira" "servicedesk" "structure" "tempo" "trello" "upm" ];
12+
13+ tools = [
14+ "agile"
15+ "bamboo"
16+ "bitbucket"
17+ "confluence"
18+ "csv"
19+ "hipchat"
20+ "jira"
21+ "servicedesk"
22+ "structure"
23+ "tempo"
24+ "trello"
25+ "upm"
26+ ];
27+
1228 installPhase = ''
1329 mkdir -p $out/{bin,share/doc/atlassian-cli}
1430 cp -r lib $out/share/java
@@ -22,10 +38,12 @@ stdenv.mkDerivation {
2238 chmod +x $out/bin/$tool
2339 done
2440 '';
41+
2542 meta = with stdenv.lib; {
2643 description = "An integrated family of CLI’s for various Atlassian applications";
27− homepage = https://bobswift.atlassian.net/wiki/spaces/ACLI/overview;
28− maintainers = [ maintainers.twey ];
29− license = [ licenses.unfreeRedistributable ];
44+ homepage = https://bobswift.atlassian.net/wiki/spaces/ACLI/overview;
45+ license = licenses.unfreeRedistributable;
46+ maintainers = with maintainers; [ twey ];
47+ inherit (jre.meta) platforms;
3048 };
3149}
pkgs/applications/science/machine-learning/torch/torch-distro.nix+2
@@ -57,6 +57,8 @@ let
5757 in
5858 stdenv.mkDerivation (args // {
5959
60+ name = "${args.name}-${lua.luaversion}";
61+
6062 inherit preBuild postInstall;
6163
6264 inherit luadeps runtimeDeps;
pkgs/applications/science/misc/simgrid/default.nix+54−60
@@ -10,42 +10,37 @@
1010, moreTests ? false
1111}:
1212
13−# helpers for options
14−let optionals = stdenv.lib.optionals;
15− optionalString = stdenv.lib.optionalString;
16− optionOnOff = option: "${if option then "on" else "off"}";
13+with stdenv.lib;
14+
15+let
16+ optionOnOff = option: "${if option then "on" else "off"}";
17+ urlVersion = replaceStrings ["."] ["_"];
1718in
1819
1920stdenv.mkDerivation rec {
20− major_version = "3";
21− minor_version = "17";
22− version = "v${major_version}.${minor_version}";
23− tagged_version = "${major_version}_${minor_version}";
24− name = "simgrid";
21+ name = "simgrid-${version}";
22+ version = "3.17";
2523
2624 src = fetchFromGitHub {
2725 owner = "simgrid";
2826 repo = "simgrid";
29− rev = "v3_17";
27+ rev = "v${urlVersion version}";
3028 sha256 = "0ffs9w141qhw571jsa9sch1cnr332vs4sgj6dsiij2mc24m6wpb4";
31− #rev = "master";
32− #sha256 = "0qvh1jzc2lpnp8234kjx1x4g1a5kfdn6kb15vhk160qgvj98nyqm";
3329 };
3430
35− nativeBuildInputs = [ cmake perl elfutils python3 boost valgrind]
36− ++ optionals fortranSupport [gfortran]
37− ++ optionals buildJavaBindings [openjdk]
38− ++ optionals buildDocumentation [transfig ghostscript doxygen]
39− ++ optionals modelCheckingSupport [libunwind libevent];
31+ nativeBuildInputs = [ cmake perl elfutils python3 boost valgrind ]
32+ ++ optionals fortranSupport [ gfortran ]
33+ ++ optionals buildJavaBindings [ openjdk ]
34+ ++ optionals buildDocumentation [ transfig ghostscript doxygen ]
35+ ++ optionals modelCheckingSupport [ libunwind libevent ];
4036
4137 #buildInputs = optional luaSupport lua5;
4238
43− preConfigure =
44− # Make it so that libsimgrid.so will be found when running programs from
45− # the build dir.
46− ''
39+ # Make it so that libsimgrid.so will be found when running programs from
40+ # the build dir.
41+ preConfigure = ''
4742 export LD_LIBRARY_PATH="$PWD/build/lib"
48− '';
43+ '';
4944
5045 # Release mode is not supported in SimGrid
5146 cmakeBuildType = "Debug";
@@ -60,58 +55,57 @@ stdenv.mkDerivation rec {
6055 # For more information see:
6156 # http://simgrid.gforge.inria.fr/simgrid/latest/doc/install.html#install_cmake_list
6257 cmakeFlags= ''
63− -Denable_documentation=${optionOnOff buildDocumentation}
64− -Denable_java=${optionOnOff buildJavaBindings}
65− -Denable_fortran=${optionOnOff fortranSupport}
66− -Denable_model-checking=${optionOnOff modelCheckingSupport}
67− -Denable_ns3=off
68− -Denable_lua=off
69− -Denable_lib_in_jar=off
70− -Denable_maintainer_mode=off
71− -Denable_mallocators=on
72− -Denable_debug=on
73− -Denable_smpi=on
74− -Denable_smpi_ISP_testsuite=${optionOnOff moreTests}
75− -Denable_smpi_MPICH3_testsuite=${optionOnOff moreTests}
76− -Denable_compile_warnings=${optionOnOff debug}
77− -Denable_compile_optimizations=${optionOnOff (!debug)}
78− -Denable_lto=${optionOnOff (!debug)}
79− '';
80− #-Denable_lua=${optionOnOff luaSupport}
81− #-Denable_smpi_papi=${optionOnOff moreTests}
58+ -Denable_documentation=${optionOnOff buildDocumentation}
59+ -Denable_java=${optionOnOff buildJavaBindings}
60+ -Denable_fortran=${optionOnOff fortranSupport}
61+ -Denable_model-checking=${optionOnOff modelCheckingSupport}
62+ -Denable_ns3=off
63+ -Denable_lua=off
64+ -Denable_lib_in_jar=off
65+ -Denable_maintainer_mode=off
66+ -Denable_mallocators=on
67+ -Denable_debug=on
68+ -Denable_smpi=on
69+ -Denable_smpi_ISP_testsuite=${optionOnOff moreTests}
70+ -Denable_smpi_MPICH3_testsuite=${optionOnOff moreTests}
71+ -Denable_compile_warnings=${optionOnOff debug}
72+ -Denable_compile_optimizations=${optionOnOff (!debug)}
73+ -Denable_lto=${optionOnOff (!debug)}
74+ '';
75+ # -Denable_lua=${optionOnOff luaSupport}
76+ # -Denable_smpi_papi=${optionOnOff moreTests}
8277
8378 makeFlags = optionalString debug "VERBOSE=1";
8479
85− preBuild =
86− ''
87− # Some perl scripts are called to generate test during build which
88− # is before the fixupPhase of nix, so do this manualy here:
89− patchShebangs ..
90− '';
80+ # Some Perl scripts are called to generate test during build which
81+ # is before the fixupPhase, so do this manualy here:
82+ preBuild = ''
83+ patchShebangs ..
84+ '';
9185
9286 doCheck = true;
87+
9388 checkPhase = ''
9489 runHook preCheck
95−
9690 ctest --output-on-failure -E smpi-replay-multiple
97−
9891 runHook postCheck
99− '';
92+ '';
93+
10094 enableParallelBuilding = true;
10195
102− meta = with stdenv.lib; {
96+ meta = {
10397 description = "Framework for the simulation of distributed applications";
104− longDescription =
105− '' SimGrid is a toolkit that provides core functionalities for the
106− simulation of distributed applications in heterogeneous distributed
107− environments. The specific goal of the project is to facilitate
108− research in the area of distributed and parallel application
109− scheduling on distributed computing platforms ranging from simple
110− network of workstations to Computational Grids.
111− '';
98+ longDescription = ''
99+ SimGrid is a toolkit that provides core functionalities for the
100+ simulation of distributed applications in heterogeneous distributed
101+ environments. The specific goal of the project is to facilitate
102+ research in the area of distributed and parallel application
103+ scheduling on distributed computing platforms ranging from simple
104+ network of workstations to Computational Grids.
105+ '';
112106 homepage = http://simgrid.gforge.inria.fr/;
107+ license = licenses.lgpl2Plus;
113108 maintainers = with maintainers; [ mickours ];
114109 platforms = platforms.x86_64;
115− license = licenses.lgpl2Plus;
116110 };
117111}
pkgs/applications/version-management/git-and-tools/bfg-repo-cleaner/default.nix+1−1
@@ -8,7 +8,7 @@ in
88 stdenv.mkDerivation {
99 inherit version jarName;
1010
11− name = "bfg-repo-cleaner";
11+ name = "bfg-repo-cleaner-${version}";
1212
1313 src = fetchurl {
1414 url = mavenUrl;
pkgs/applications/version-management/git-and-tools/gitweb/default.nix+1−1
@@ -10,7 +10,7 @@ let
1010 sha256 = "0wksqma41z36dbv6w6iplkjfdm0ha3njp222fakyh4lismajr71p";
1111 };
1212in stdenv.mkDerivation {
13− name = "gitweb";
13+ name = "gitweb-${stdenv.lib.getVersion git}";
1414
1515 src = git.gitweb;
1616
pkgs/applications/video/lightworks/default.nix+1−1
@@ -77,7 +77,7 @@ let
7777
7878# Lightworks expects some files in /usr/share/lightworks
7979in buildFHSUserEnv rec {
80− name = "lightworks";
80+ name = "lightworks-${stdenv.lib.getVersion lightworks}";
8181
8282 targetPkgs = pkgs: [
8383 lightworks
pkgs/data/fonts/liberationsansnarrow/default.nix+1−1
@@ -3,7 +3,7 @@
33stdenv.mkDerivation rec {
44 pname = "liberationsansnarrow";
55 version = "1.07.3";
6− name = "${pname}";
6+ name = "${pname}-${version}";
77
88 src = fetchurl {
99 url = "https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-ttf-${version}.tar.gz";
pkgs/data/fonts/meslo-lg/default.nix+1−1
@@ -3,7 +3,7 @@
33stdenv.mkDerivation rec {
44 version = "1.2.1";
55
6− name = "meslo-lg";
6+ name = "meslo-lg-${version}";
77
88 meslo-lg = fetchurl {
99 url="https://github.com/andreberg/Meslo-Font/blob/master/dist/v${version}/Meslo%20LG%20v${version}.zip?raw=true";
pkgs/data/fonts/mph-2b-damase/default.nix+1−1
@@ -1,7 +1,7 @@
11{stdenv, fetchzip}:
22
33fetchzip {
4− name = "MPH-2B-Damase";
4+ name = "MPH-2B-Damase-2";
55
66 url = http://www.wazu.jp/downloads/damase_v.2.zip;
77
pkgs/development/compilers/adobe-flex-sdk/default.nix+1−1
@@ -1,7 +1,7 @@
11{ stdenv, fetchurl, unzip }:
22
33stdenv.mkDerivation rec {
4− name = "adobe-flex-sdk-4.0.0.14159-mpl";
4+ name = "adobe-flex-sdk-4.0.0.14159";
55
66 src = fetchurl {
77 # This is the open source distribution
pkgs/development/compilers/emscripten/fastcomp/default.nix+1−1
@@ -15,7 +15,7 @@ let
1515 '';
1616 };
1717 emscriptenfastcomp = symlinkJoin {
18− name = "emscriptenfastcomp";
18+ name = "emscriptenfastcomp-${stdenv.lib.getVersion self.emscriptenfastcomp-unwrapped}";
1919 paths = [ self.emscriptenfastcomp-wrapped self.emscriptenfastcomp-unwrapped ];
2020 preferLocalBuild = false;
2121 allowSubstitutes = true;
pkgs/development/idris-modules/with-packages.nix+3−3
@@ -4,9 +4,9 @@
44
55let paths = stdenv.lib.closePropagation packages;
66in
7−symlinkJoin {
7+stdenv.lib.appendToName "with-packages" (symlinkJoin {
88
9− name = idris.name + "-with-packages";
9+ inherit (idris) name;
1010
1111 paths = paths ++ [idris] ;
1212
@@ -17,4 +17,4 @@ symlinkJoin {
1717 --set IDRIS_LIBRARY_PATH $out/libs
1818 '';
1919
20−}
20+})
pkgs/development/libraries/c-blosc/default.nix+1−1
@@ -1,7 +1,7 @@
11{ stdenv, fetchFromGitHub, cmake }:
22
33stdenv.mkDerivation rec {
4− name = "c-blosc";
4+ name = "c-blosc-${version}";
55 version = "1.11.3";
66
77 src = fetchFromGitHub {
pkgs/development/libraries/languagemachines/frog.nix+1−1
@@ -9,7 +9,7 @@ let
99in
1010
1111stdenv.mkDerivation {
12− name = "frog";
12+ name = "frog-${release.version}";
1313 version = release.version;
1414 src = fetchurl { inherit (release) url sha256;
1515 name = "frog-${release.version}.tar.gz"; };
pkgs/development/libraries/languagemachines/frogdata.nix+1−1
@@ -9,7 +9,7 @@ let
99in
1010
1111stdenv.mkDerivation {
12− name = "frogdata";
12+ name = "frogdata-${release.version}";
1313 version = release.version;
1414 src = fetchurl { inherit (release) url sha256;
1515 name = "frogdata-${release.version}.tar.gz"; };
pkgs/development/libraries/languagemachines/libfolia.nix+1−1
@@ -8,7 +8,7 @@ let
88in
99
1010stdenv.mkDerivation {
11− name = "libfolia";
11+ name = "libfolia-${release.version}";
1212 version = release.version;
1313 src = fetchurl { inherit (release) url sha256;
1414 name = "libfolia-${release.version}.tar.gz"; };
pkgs/development/libraries/languagemachines/mbt.nix+1−1
@@ -9,7 +9,7 @@ let
99in
1010
1111stdenv.mkDerivation {
12− name = "mbt";
12+ name = "mbt-${release.version}";
1313 version = release.version;
1414 src = fetchurl { inherit (release) url sha256;
1515 name = "mbt-${release.version}.tar.gz"; };
pkgs/development/libraries/languagemachines/ticcutils.nix+1−1
@@ -7,7 +7,7 @@ let
77in
88
99stdenv.mkDerivation {
10− name = "ticcutils";
10+ name = "ticcutils-${release.version}";
1111 version = release.version;
1212 src = fetchurl { inherit (release) url sha256;
1313 name = "ticcutils-${release.version}.tar.gz"; };
pkgs/development/libraries/languagemachines/timbl.nix+1−1
@@ -9,7 +9,7 @@ let
99in
1010
1111stdenv.mkDerivation {
12− name = "timbl";
12+ name = "timbl-${release.version}";
1313 version = release.version;
1414 src = fetchurl { inherit (release) url sha256;
1515 name = "timbl-${release.version}.tar.gz"; };
pkgs/development/libraries/languagemachines/timblserver.nix+1−1
@@ -9,7 +9,7 @@ let
99in
1010
1111stdenv.mkDerivation {
12− name = "timblserver";
12+ name = "timblserver-${release.version}";
1313 version = release.version;
1414 src = fetchurl { inherit (release) url sha256;
1515 name = "timblserver-${release.version}.tar.gz"; };
pkgs/development/libraries/languagemachines/ucto.nix+1−1
@@ -9,7 +9,7 @@ let
99in
1010
1111stdenv.mkDerivation {
12− name = "ucto";
12+ name = "ucto-${release.version}";
1313 version = release.version;
1414 src = fetchurl { inherit (release) url sha256;
1515 name = "ucto-${release.version}.tar.gz"; };
pkgs/development/libraries/languagemachines/uctodata.nix+1−1
@@ -8,7 +8,7 @@ let
88in
99
1010stdenv.mkDerivation {
11− name = "uctodata";
11+ name = "uctodata-${release.version}";
1212 version = release.version;
1313 src = fetchurl { inherit (release) url sha256;
1414 name = "uctodata-${release.version}.tar.gz"; };
pkgs/development/libraries/libblocksruntime/default.nix+1−1
@@ -1,7 +1,7 @@
11{ stdenv, fetchFromGitHub, clang }:
22
33stdenv.mkDerivation {
4− name = "blocksruntime";
4+ name = "blocksruntime-20140624";
55
66 src = fetchFromGitHub {
77 owner = "mackyle";
pkgs/development/libraries/physics/nlojet/default.nix+1−1
@@ -1,7 +1,7 @@
11{ stdenv, fetchurl, fetchpatch }:
22
33stdenv.mkDerivation rec {
4− name = "nlojet++";
4+ name = "nlojet++-${version}";
55 version = "4.1.3";
66
77 src = fetchurl {
pkgs/development/libraries/qtinstaller/default.nix+1−1
@@ -1,7 +1,7 @@
11{ stdenv, fetchurl, qtdeclarative , qttools, qtbase, qmake }:
22
33stdenv.mkDerivation rec {
4− name = "qtinstaller";
4+ name = "qtinstaller-${version}";
55
66 propagatedBuildInputs = [ qtdeclarative qttools ];
77 nativeBuildInputs = [ qmake ];
pkgs/development/libraries/re2/default.nix+2−2
@@ -1,11 +1,11 @@
11{ stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
4− name = "re2";
4+ name = "re2-${version}";
55 version = "20140304";
66
77 src = fetchurl {
8− url = "https://re2.googlecode.com/files/${name}-${version}.tgz";
8+ url = "https://re2.googlecode.com/files/${name}.tgz";
99 sha256 = "19wn0472c9dsxp35d0m98hlwhngx1f2xhxqgr8cb5x72gnjx3zqb";
1010 };
1111
pkgs/development/tools/build-managers/gn/default.nix+2−2
@@ -45,8 +45,8 @@ let
4545 };
4646 };
4747
48−in stdenv.mkDerivation {
49− name = "gn";
48+in stdenv.mkDerivation rec {
49+ name = "gn-${version}";
5050 version = "20180423";
5151 sourceRoot = ".";
5252
pkgs/development/tools/erlang/cuter/default.nix+1−1
@@ -2,7 +2,7 @@
22, beamPackages, z3, python27 }:
33
44stdenv.mkDerivation rec {
5− name = "cuter";
5+ name = "cuter-${version}";
66 version = "0.1";
77
88 src = fetchFromGitHub {
pkgs/development/tools/imatix_gsl/default.nix+1−1
@@ -1,7 +1,7 @@
11{ stdenv, fetchFromGitHub, pcre } :
22
33stdenv.mkDerivation rec {
4− name = "imatix_gsl";
4+ name = "imatix_gsl-${version}";
55 version = "4.1";
66
77 src = fetchFromGitHub {
pkgs/development/tools/yuicompressor/default.nix+14−12
@@ -1,27 +1,29 @@
11{ stdenv, fetchurl, makeWrapper, jre }:
22
33stdenv.mkDerivation rec {
4− name = "yuicompressor";
4+ name = "yuicompressor-${version}";
55 version = "2.4.8";
6+
67 src = fetchurl {
7− url = "http://github.com/yui/yuicompressor/releases/download/v${version}/${name}-${version}.jar";
8+ url = "http://github.com/yui/yuicompressor/releases/download/v${version}/${name}.jar";
89 sha256 = "1qjxlak9hbl9zd3dl5ks0w4zx5z64wjsbk7ic73r1r45fasisdrh";
910 };
1011
11− buildInputs = [makeWrapper jre];
12−
13− meta = {
14− description = "A JavaScript and CSS minifier";
15− maintainers = [ stdenv.lib.maintainers.jwiegley ];
16− platforms = stdenv.lib.platforms.all;
17− homepage = http://yui.github.io/yuicompressor/;
18− license = stdenv.lib.licenses.bsd3;
19− };
12+ nativeBuildInputs = [ makeWrapper ];
13+ buildInputs = [ jre ];
2014
2115 buildCommand = ''
2216 mkdir -p $out/{bin,lib}
2317 ln -s $src $out/lib/yuicompressor.jar
24− makeWrapper ${jre}/bin/java $out/bin/${name} --add-flags \
18+ makeWrapper ${jre}/bin/java $out/bin/yuicompressor --add-flags \
2519 "-cp $out/lib/yuicompressor.jar com.yahoo.platform.yui.compressor.YUICompressor"
2620 '';
21+
22+ meta = with stdenv.lib; {
23+ description = "A JavaScript and CSS minifier";
24+ homepage = http://yui.github.io/yuicompressor/;
25+ license = licenses.bsd3;
26+ maintainers = with maintainers; [ jwiegley ];
27+ platforms = platforms.all;
28+ };
2729}
pkgs/games/quake2/yquake2/wrapper.nix+1−1
@@ -12,7 +12,7 @@ let
1212 };
1313
1414in stdenv.mkDerivation {
15− inherit name;
15+ name = "${name}-${stdenv.lib.getVersion yquake2}";
1616
1717 nativeBuildInputs = [ makeWrapper ];
1818
pkgs/misc/cups/drivers/brlaser/default.nix+4−3
@@ -2,13 +2,14 @@
22
33stdenv.mkDerivation rec {
44
5− name = "brlaser";
5+ name = "brlaser-${version}";
6+ version = "4";
67
78 src = fetchFromGitHub {
89 owner = "pdewacht";
910 repo = "brlaser";
10− rev = "a52149823373e11f918d9e6a56eda7242935c99b";
11− sha256 = "12d8g0aispdj2virf6vrvb0vx6d6ardjg3qyav75shsm1f94ids6";
11+ rev = "v${version}";
12+ sha256 = "1yy4mpf68c82h245srh2sd1yip29w6kx14gxk4hxkv496gf55lw5";
1213 };
1314
1415 buildInputs = [ cmake zlib cups ];
pkgs/misc/cups/drivers/estudio/default.nix+2−2
@@ -1,7 +1,7 @@
11{ stdenv, fetchurl, perl }:
22
3−stdenv.mkDerivation {
4− name = "cups-toshiba-estudio";
3+stdenv.mkDerivation rec {
4+ name = "cups-toshiba-estudio-${version}";
55 version = "7.51";
66
77 src = fetchurl {
pkgs/misc/lilypond/with-fonts.nix+3−3
@@ -5,8 +5,8 @@
55, fonts ? openlilylib-fonts.all
66}:
77
8−stdenv.mkDerivation {
9− name = "${lilypond.name}-with-fonts";
8+stdenv.lib.appendToName "with-fonts" (stdenv.mkDerivation {
9+ inherit (lilypond) name;
1010 phases = "installPhase";
1111 buildInputs = fonts;
1212 nativeBuildInputs = [ lndir ];
@@ -32,4 +32,4 @@ stdenv.mkDerivation {
3232 substituteInPlace $p --replace "exec -a \"${lilypond}" "exec -a \"$out"
3333 done
3434 '';
35−}
35+})
pkgs/misc/themes/gnome-breeze/default.nix+1−1
@@ -1,7 +1,7 @@
11{ stdenv, fetchgit }:
22
33stdenv.mkDerivation {
4− name = "gnome-breeze";
4+ name = "gnome-breeze-20160526";
55 src = fetchgit {
66 url = "https://github.com/dirruk1/gnome-breeze";
77 sha256 = "0hkk0gqlnrs1m4rb5r84f5y96qfamrbiwm09z89yc32124x1a1lm";
pkgs/os-specific/linux/systemd/cryptsetup-generator.nix+1−1
@@ -2,7 +2,7 @@
22
33stdenv.lib.overrideDerivation systemd (p: {
44 version = p.version;
5− name = "systemd-cryptsetup-generator";
5+ name = "systemd-cryptsetup-generator-${p.version}";
66
77 nativeBuildInputs = p.nativeBuildInputs ++ [ cryptsetup ];
88 outputs = [ "out" ];
pkgs/servers/x11/xquartz/default.nix+1−1
@@ -95,7 +95,7 @@ let
9595 ];
9696 };
9797in stdenv.mkDerivation {
98− name = "xquartz";
98+ name = "xquartz-${stdenv.lib.getVersion xorg.xorgserver}";
9999
100100 buildInputs = [ ruby makeWrapper ];
101101
pkgs/tools/audio/mpdris2/default.nix+3−2
@@ -3,11 +3,12 @@
33}:
44
55stdenv.mkDerivation rec {
6− name = "mpDris2";
6+ pname = "mpDris2";
7+ name = "${pname}-${version}";
78 version = "0.7";
89
910 src = fetchurl {
10− url = "https://github.com/eonpatapon/${name}/archive/${version}.tar.gz";
11+ url = "https://github.com/eonpatapon/${pname}/archive/${version}.tar.gz";
1112 sha256 = "095swrjw59lh8qiwmjjjdbxl9587axilkj4mh2sx5m0kiq929z21";
1213 };
1314
pkgs/tools/misc/buildtorrent/default.nix+3−3
@@ -3,10 +3,10 @@
33let version = "0.8"; in
44
55stdenv.mkDerivation rec {
6− name = "buildtorrent";
6+ name = "buildtorrent-${version}";
77
88 src = fetchurl {
9− url = "http://mathr.co.uk/blog/code/${name}-${version}.tar.gz";
9+ url = "http://mathr.co.uk/blog/code/${name}.tar.gz";
1010 sha256 = "e8e27647bdb38873ac570d46c1a9689a92b01bb67f59089d1cdd08784f7052d0";
1111 };
1212
@@ -16,4 +16,4 @@ stdenv.mkDerivation rec {
1616 license = stdenv.lib.licenses.gpl3Plus;
1717 platforms = stdenv.lib.platforms.all;
1818 };
19−}
19+}
pkgs/tools/misc/notify-desktop/default.nix+1−1
@@ -1,7 +1,7 @@
11{ stdenv, fetchFromGitHub, dbus, pkgconfig }:
22
33stdenv.mkDerivation rec {
4− name = "notify-desktop";
4+ name = "notify-desktop-${version}";
55 version = "0.2.0";
66
77 src = fetchFromGitHub {
pkgs/tools/networking/dnstracer/default.nix+2−2
@@ -2,10 +2,10 @@
22
33stdenv.mkDerivation rec {
44 version = "1.9";
5− name = "dnstracer";
5+ name = "dnstracer-${version}";
66
77 src = fetchurl {
8− url = "http://www.mavetju.org/download/dnstracer-${version}.tar.gz";
8+ url = "http://www.mavetju.org/download/${name}.tar.gz";
99 sha256 = "177y58smnq2xhx9lbmj1gria371iv3r1d132l2gjvflkjsphig1f";
1010 };
1111
pkgs/tools/networking/zerotierone/default.nix+1−1
@@ -2,7 +2,7 @@
22
33stdenv.mkDerivation rec {
44 version = "1.2.8";
5− name = "zerotierone";
5+ name = "zerotierone-${version}";
66
77 src = fetchurl {
88 url = "https://github.com/zerotier/ZeroTierOne/archive/${version}.tar.gz";
pkgs/tools/security/nitrokey-app/default.nix+1−1
@@ -1,7 +1,7 @@
11{ stdenv, bash-completion, cmake, fetchgit, hidapi, libusb1, pkgconfig, qt5 }:
22
33stdenv.mkDerivation rec {
4− name = "nitrokey-app";
4+ name = "nitrokey-app-${version}";
55 version = "1.2";
66
77 # We use fetchgit instead of fetchFromGitHub because of necessary git submodules
pkgs/tools/security/nitrokey-app/udev-rules.nix+1−1
@@ -3,7 +3,7 @@
33}:
44
55stdenv.mkDerivation {
6− name = "nitrokey-udev-rules";
6+ name = "nitrokey-udev-rules-${stdenv.lib.getVersion nitrokey-app}";
77
88 inherit (nitrokey-app) src;
99
pkgs/tools/text/jumanpp/default.nix+2−2
@@ -1,10 +1,10 @@
11{ stdenv, fetchurl, cmake, protobuf }:
22stdenv.mkDerivation rec {
3− name = "jumanpp";
3+ name = "jumanpp-${version}";
44 version = "2.0.0-rc2";
55
66 src = fetchurl {
7− url = "https://github.com/ku-nlp/${name}/releases/download/v${version}/${name}-${version}.tar.xz";
7+ url = "https://github.com/ku-nlp/${name}/releases/download/v${version}/${name}.tar.xz";
88 sha256 = "17fzmd0f5m9ayfhsr0mg7hjp3pg1mhbgknhgyd8v87x46g8bg6qp";
99 };
1010 buildInputs = [ cmake protobuf ];
pkgs/top-level/unix-tools.nix+5−3
@@ -12,9 +12,11 @@
1212# input, not "procps" which requires Linux.
1313
1414let
15+ version = "1003.1-2008";
16+
1517 singleBinary = cmd: providers: let
1618 provider = "${lib.getBin providers.${hostPlatform.parsed.kernel.name}}/bin/${cmd}";
17− in runCommand cmd {
19+ in runCommand "${cmd}-${version}" {
1820 meta.platforms = map (n: { kernel.name = n; }) (pkgs.lib.attrNames providers);
1921 } ''
2022 mkdir -p $out/bin
@@ -29,7 +31,7 @@ let
2931
3032 # more is unavailable in darwin
3133 # just use less
32− more_compat = runCommand "more" {} ''
34+ more_compat = runCommand "more-${version}" {} ''
3335 mkdir -p $out/bin
3436 ln -s ${pkgs.less}/bin/less $out/bin/more
3537 '';
@@ -142,7 +144,7 @@ let
142144 };
143145
144146 makeCompat = name': value: buildEnv {
145− name = name' + "-compat";
147+ name = name' + "-compat-${version}";
146148 paths = value;
147149 };
148150