Browse Source

treewide: name -> pname (easy cases) (#66585)

treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
alephone
volth 2 years ago
committed by Jörg Thalheim
parent
commit
46420bbaa3
  1. 4
      nixos/modules/hardware/raid/hpsa.nix
  2. 4
      nixos/tests/common/letsencrypt/default.nix
  3. 2
      pkgs/applications/altcoins/clightning.nix
  4. 2
      pkgs/applications/altcoins/dashpay.nix
  5. 2
      pkgs/applications/altcoins/dcrd.nix
  6. 2
      pkgs/applications/altcoins/dcrwallet.nix
  7. 2
      pkgs/applications/altcoins/dero.nix
  8. 2
      pkgs/applications/altcoins/freicoin.nix
  9. 2
      pkgs/applications/altcoins/go-ethereum-classic/default.nix
  10. 2
      pkgs/applications/altcoins/masari.nix
  11. 2
      pkgs/applications/altcoins/monero-gui/default.nix
  12. 2
      pkgs/applications/altcoins/monero/default.nix
  13. 2
      pkgs/applications/altcoins/nano-wallet/default.nix
  14. 4
      pkgs/applications/altcoins/parity-ui/default.nix
  15. 2
      pkgs/applications/altcoins/particl/particl-core.nix
  16. 2
      pkgs/applications/altcoins/pivx.nix
  17. 2
      pkgs/applications/altcoins/sumokoin.nix
  18. 2
      pkgs/applications/altcoins/wownero.nix
  19. 4
      pkgs/applications/audio/AMB-plugins/default.nix
  20. 4
      pkgs/applications/audio/FIL-plugins/default.nix
  21. 2
      pkgs/applications/audio/MMA/default.nix
  22. 2
      pkgs/applications/audio/a2jmidid/default.nix
  23. 4
      pkgs/applications/audio/aeolus/default.nix
  24. 2
      pkgs/applications/audio/ams-lv2/default.nix
  25. 4
      pkgs/applications/audio/ario/default.nix
  26. 2
      pkgs/applications/audio/artyFX/default.nix
  27. 4
      pkgs/applications/audio/asunder/default.nix
  28. 2
      pkgs/applications/audio/audacious/default.nix
  29. 2
      pkgs/applications/audio/audacity/default.nix
  30. 4
      pkgs/applications/audio/audio-recorder/default.nix
  31. 1
      pkgs/applications/audio/avldrums-lv2/default.nix
  32. 2
      pkgs/applications/audio/axoloti/default.nix
  33. 4
      pkgs/applications/audio/axoloti/dfu-util.nix
  34. 2
      pkgs/applications/audio/baudline/default.nix
  35. 4
      pkgs/applications/audio/bitmeter/default.nix
  36. 2
      pkgs/applications/audio/bitwig-studio/bitwig-studio1.nix
  37. 4
      pkgs/applications/audio/bristol/default.nix
  38. 4
      pkgs/applications/audio/bs1770gain/default.nix
  39. 4
      pkgs/applications/audio/calf/default.nix
  40. 2
      pkgs/applications/audio/caps/default.nix
  41. 2
      pkgs/applications/audio/cava/default.nix
  42. 4
      pkgs/applications/audio/cd-discid/default.nix
  43. 2
      pkgs/applications/audio/chuck/default.nix
  44. 2
      pkgs/applications/audio/cmus/default.nix
  45. 2
      pkgs/applications/audio/cmusfm/default.nix
  46. 4
      pkgs/applications/audio/csa/default.nix
  47. 2
      pkgs/applications/audio/csound/csound-qt/default.nix
  48. 2
      pkgs/applications/audio/csound/default.nix
  49. 2
      pkgs/applications/audio/deadbeef/plugins/headerbar-gtk3.nix
  50. 2
      pkgs/applications/audio/deadbeef/plugins/infobar.nix
  51. 4
      pkgs/applications/audio/deadbeef/plugins/mpris2.nix
  52. 2
      pkgs/applications/audio/denemo/default.nix
  53. 2
      pkgs/applications/audio/dfasma/default.nix
  54. 2
      pkgs/applications/audio/distrho/default.nix
  55. 4
      pkgs/applications/audio/drumgizmo/default.nix
  56. 4
      pkgs/applications/audio/drumkv1/default.nix
  57. 2
      pkgs/applications/audio/ecasound/default.nix
  58. 4
      pkgs/applications/audio/eflite/default.nix
  59. 4
      pkgs/applications/audio/eq10q/default.nix
  60. 2
      pkgs/applications/audio/espeak-ng/default.nix
  61. 1
      pkgs/applications/audio/eteroj.lv2/default.nix
  62. 2
      pkgs/applications/audio/faust/faustlive.nix
  63. 4
      pkgs/applications/audio/flac123/default.nix
  64. 2
      pkgs/applications/audio/flacon/default.nix
  65. 2
      pkgs/applications/audio/fmit/default.nix
  66. 2
      pkgs/applications/audio/fmsynth/default.nix
  67. 4
      pkgs/applications/audio/fomp/default.nix
  68. 2
      pkgs/applications/audio/foo-yc20/default.nix
  69. 2
      pkgs/applications/audio/freewheeling/default.nix
  70. 4
      pkgs/applications/audio/game-music-emu/default.nix
  71. 4
      pkgs/applications/audio/gigedit/default.nix
  72. 2
      pkgs/applications/audio/gmpc/default.nix
  73. 2
      pkgs/applications/audio/gnome-podcasts/default.nix
  74. 1
      pkgs/applications/audio/greg/default.nix
  75. 4
      pkgs/applications/audio/gtkpod/default.nix
  76. 2
      pkgs/applications/audio/guitarix/default.nix
  77. 1
      pkgs/applications/audio/gxplugins-lv2/default.nix
  78. 2
      pkgs/applications/audio/helm/default.nix
  79. 2
      pkgs/applications/audio/hydrogen/default.nix
  80. 2
      pkgs/applications/audio/i-score/default.nix
  81. 2
      pkgs/applications/audio/iannix/default.nix
  82. 4
      pkgs/applications/audio/id3v2/default.nix
  83. 2
      pkgs/applications/audio/infamousPlugins/default.nix
  84. 2
      pkgs/applications/audio/ir.lv2/default.nix
  85. 4
      pkgs/applications/audio/jaaa/default.nix
  86. 4
      pkgs/applications/audio/jack-capture/default.nix
  87. 4
      pkgs/applications/audio/jack-oscrolloscope/default.nix
  88. 4
      pkgs/applications/audio/jalv/default.nix
  89. 4
      pkgs/applications/audio/japa/default.nix
  90. 2
      pkgs/applications/audio/keyfinder-cli/default.nix
  91. 2
      pkgs/applications/audio/keyfinder/default.nix
  92. 4
      pkgs/applications/audio/kid3/default.nix
  93. 4
      pkgs/applications/audio/klick/default.nix
  94. 2
      pkgs/applications/audio/ladspa-plugins/default.nix
  95. 2
      pkgs/applications/audio/ladspa-sdk/default.nix
  96. 2
      pkgs/applications/audio/ladspa-sdk/ladspah.nix
  97. 4
      pkgs/applications/audio/lash/default.nix
  98. 4
      pkgs/applications/audio/linuxband/default.nix
  99. 4
      pkgs/applications/audio/linuxsampler/default.nix
  100. 2
      pkgs/applications/audio/lmms/default.nix

4
nixos/modules/hardware/raid/hpsa.nix

@ -4,11 +4,11 @@ with lib;
let
hpssacli = pkgs.stdenv.mkDerivation rec {
name = "hpssacli-${version}";
pname = "hpssacli";
version = "2.40-13.0";
src = pkgs.fetchurl {
url = "https://downloads.linux.hpe.com/SDR/downloads/MCP/Ubuntu/pool/non-free/${name}_amd64.deb";
url = "https://downloads.linux.hpe.com/SDR/downloads/MCP/Ubuntu/pool/non-free/${pname}-${version}_amd64.deb";
sha256 = "11w7fwk93lmfw0yya4jpjwdmgjimqxx6412sqa166g1pz4jil4sw";
};

4
nixos/tests/common/letsencrypt/default.nix

@ -56,11 +56,11 @@
let
softhsm = pkgs.stdenv.mkDerivation rec {
name = "softhsm-${version}";
pname = "softhsm";
version = "1.3.8";
src = pkgs.fetchurl {
url = "https://dist.opendnssec.org/source/${name}.tar.gz";
url = "https://dist.opendnssec.org/source/${pname}-${version}.tar.gz";
sha256 = "0flmnpkgp65ym7w3qyg78d3fbmvq3aznmi66rgd420n33shf7aif";
};

2
pkgs/applications/altcoins/clightning.nix

@ -3,7 +3,7 @@
with stdenv.lib;
stdenv.mkDerivation rec {
name = "clightning-${version}";
pname = "clightning";
version = "0.7.1";
src = fetchurl {

2
pkgs/applications/altcoins/dashpay.nix

@ -8,7 +8,7 @@
with stdenv.lib;
stdenv.mkDerivation rec {
name = "dashpay-${version}";
pname = "dashpay";
version = "0.12.2.3";
src = fetchFromGitHub {

2
pkgs/applications/altcoins/dcrd.nix

@ -1,7 +1,7 @@
{ stdenv, lib, go, buildGoPackage, dep, fetchgit, git, cacert }:
buildGoPackage rec {
name = "dcrd-${version}";
pname = "dcrd";
version = "1.1.2";
rev = "refs/tags/v${version}";
goPackagePath = "github.com/decred/dcrd";

2
pkgs/applications/altcoins/dcrwallet.nix

@ -1,7 +1,7 @@
{ stdenv, lib, go, buildGoPackage, dep, fetchgit, git, cacert }:
buildGoPackage rec {
name = "dcrwallet-${version}";
pname = "dcrwallet";
version = "1.1.2";
rev = "refs/tags/v${version}";
goPackagePath = "github.com/decred/dcrwallet";

2
pkgs/applications/altcoins/dero.nix

@ -2,7 +2,7 @@
, lmdb, miniupnpc, readline }:
stdenv.mkDerivation rec {
name = "dero-${version}";
pname = "dero";
version = "0.11.6";
src = fetchFromGitHub {

2
pkgs/applications/altcoins/freicoin.nix

@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "0.8.6-2";
name = "freicoin-${version}";
pname = "freicoin";
src = fetchFromGitHub {
owner = "freicoin";

2
pkgs/applications/altcoins/go-ethereum-classic/default.nix

@ -1,7 +1,7 @@
{ lib, buildGoPackage, fetchgit }:
buildGoPackage rec {
name = "go-ethereum-classic-${version}";
pname = "go-ethereum-classic";
version = "4.0.0";
goPackagePath = "github.com/ethereumproject/go-ethereum";

2
pkgs/applications/altcoins/masari.nix

@ -2,7 +2,7 @@
, lmdb, miniupnpc, readline }:
stdenv.mkDerivation rec {
name = "masari-${version}";
pname = "masari";
version = "0.1.4.0";
src = fetchFromGitHub {

2
pkgs/applications/altcoins/monero-gui/default.nix

@ -24,7 +24,7 @@ let
in
stdenv.mkDerivation rec {
name = "monero-gui-${version}";
pname = "monero-gui";
version = "0.14.1.2";
src = fetchFromGitHub {

2
pkgs/applications/altcoins/monero/default.nix

@ -11,7 +11,7 @@ assert stdenv.isDarwin -> IOKit != null;
with stdenv.lib;
stdenv.mkDerivation rec {
name = "monero-${version}";
pname = "monero";
version = "0.14.1.0";
src = fetchgit {

2
pkgs/applications/altcoins/nano-wallet/default.nix

@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
name = "nano-wallet-${version}";
pname = "nano-wallet";
version = "18.0";
src = fetchFromGitHub {

4
pkgs/applications/altcoins/parity-ui/default.nix

@ -5,13 +5,13 @@ let
uiEnv = pkgs.callPackage ./env.nix { };
in stdenv.mkDerivation rec {
name = "parity-ui-${version}";
pname = "parity-ui";
version = "0.3.4";
src = fetchurl {
url = "https://github.com/parity-js/shell/releases/download/v${version}/parity-ui_${version}_amd64.deb";
sha256 = "1xbd00r9ph8w2d6d2c5xg4b5l74ljzs50rpc6kahfznypmh4kr73";
name = "${name}.deb";
name = "${pname}-${version}.deb";
};
nativeBuildInputs = [ makeWrapper nodePackages.asar ];

2
pkgs/applications/altcoins/particl/particl-core.nix

@ -16,7 +16,7 @@
with stdenv.lib;
stdenv.mkDerivation rec {
name = "particl-core-${version}";
pname = "particl-core";
version = "0.17.1.2";
src = fetchurl {

2
pkgs/applications/altcoins/pivx.nix

@ -9,7 +9,7 @@
with stdenv.lib;
stdenv.mkDerivation rec {
name = "pivx-${version}";
pname = "pivx";
version = "3.2.0";
src = fetchFromGitHub {

2
pkgs/applications/altcoins/sumokoin.nix

@ -2,7 +2,7 @@
, libunwind, lmdb, miniupnpc }:
stdenv.mkDerivation rec {
name = "sumokoin-${version}";
pname = "sumokoin";
version = "0.2.0.0";
src = fetchFromGitHub {

2
pkgs/applications/altcoins/wownero.nix

@ -6,7 +6,7 @@
with stdenv.lib;
stdenv.mkDerivation rec {
name = "wownero-${version}";
pname = "wownero";
version = "0.6.1.2";
src = fetchFromGitHub {

4
pkgs/applications/audio/AMB-plugins/default.nix

@ -2,10 +2,10 @@
}:
stdenv.mkDerivation rec {
name = "AMB-plugins-${version}";
pname = "AMB-plugins";
version = "0.8.1";
src = fetchurl {
url = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${name}.tar.bz2";
url = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pname}-${version}.tar.bz2";
sha256 = "0x4blm4visjqj0ndqr0cg776v3b7lvplpc8cgi9n51llhavn0jpl";
};

4
pkgs/applications/audio/FIL-plugins/default.nix

@ -2,10 +2,10 @@
}:
stdenv.mkDerivation rec {
name = "FIL-plugins-${version}";
pname = "FIL-plugins";
version = "0.3.0";
src = fetchurl {
url = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${name}.tar.bz2";
url = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pname}-${version}.tar.bz2";
sha256 = "1scfv9j7jrp50r565haa4rvxn1vk2ss86xssl5qgcr8r45qz42qw";
};

2
pkgs/applications/audio/MMA/default.nix

@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "16.06";
name = "mma-${version}";
pname = "mma";
src = fetchurl {
url = "https://www.mellowood.ca/mma/mma-bin-${version}.tar.gz";

2
pkgs/applications/audio/a2jmidid/default.nix

@ -5,7 +5,7 @@
let
inherit (python2Packages) python dbus-python;
in stdenv.mkDerivation rec {
name = "a2jmidid-${version}";
pname = "a2jmidid";
version = "8";
src = fetchurl {

4
pkgs/applications/audio/aeolus/default.nix

@ -3,11 +3,11 @@
}:
stdenv.mkDerivation rec {
name = "aeolus-${version}";
pname = "aeolus";
version = "0.9.7";
src = fetchurl {
url = "https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${name}.tar.bz2";
url = "https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pname}-${version}.tar.bz2";
sha256 = "0lhbr95hmbfj8ynbcpawn7jzjbpvrkm6k2yda39yhqk1bzg38v2k";
};

2
pkgs/applications/audio/ams-lv2/default.nix

@ -2,7 +2,7 @@
, wafHook }:
stdenv.mkDerivation rec {
name = "ams-lv2-${version}";
pname = "ams-lv2";
version = "1.2.2";
src = fetchFromGitHub {

4
pkgs/applications/audio/ario/default.nix

@ -5,10 +5,10 @@
stdenv.mkDerivation rec {
version = "1.6";
name = "ario-${version}";
pname = "ario";
src = fetchurl {
url = "mirror://sourceforge/ario-player/${name}.tar.gz";
url = "mirror://sourceforge/ario-player/${pname}-${version}.tar.gz";
sha256 = "16nhfb3h5pc7flagfdz7xy0iq6kvgy6h4bfpi523i57rxvlfshhl";
};

2
pkgs/applications/audio/artyFX/default.nix

@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub , cairomm, cmake, libjack2, libpthreadstubs, libXdmcp, libxshmfence, libsndfile, lv2, ntk, pkgconfig }:
stdenv.mkDerivation rec {
name = "artyFX-${version}";
pname = "artyFX";
version = "1.3";
src = fetchFromGitHub {

4
pkgs/applications/audio/asunder/default.nix

@ -13,9 +13,9 @@ with stdenv.lib;
stdenv.mkDerivation rec {
version = "2.9.3";
name = "asunder-${version}";
pname = "asunder";
src = fetchurl {
url = "http://littlesvr.ca/asunder/releases/${name}.tar.bz2";
url = "http://littlesvr.ca/asunder/releases/${pname}-${version}.tar.bz2";
sha256 = "1630i1df06y840v3fgdf75jxw1s8kwbfn5bhi0686viah0scccw5";
};

2
pkgs/applications/audio/audacious/default.nix

@ -7,7 +7,7 @@
}:
stdenv.mkDerivation rec {
name = "audacious-${version}";
pname = "audacious";
version = "3.9";
src = fetchurl {

2
pkgs/applications/audio/audacity/default.nix

@ -8,7 +8,7 @@ with stdenv.lib;
stdenv.mkDerivation rec {
version = "2.3.2";
name = "audacity-${version}";
pname = "audacity";
src = fetchurl {
url = "https://github.com/audacity/audacity/archive/Audacity-${version}.tar.gz";

4
pkgs/applications/audio/audio-recorder/default.nix

@ -5,11 +5,11 @@
, pulseaudioSupport ? true, libpulseaudio ? null }:
stdenv.mkDerivation rec {
name = "audio-recorder-${version}";
pname = "audio-recorder";
version = "2.1.3";
src = fetchurl {
name = "${name}.tar.gz";
name = "${pname}-${version}.tar.gz";
url = "${meta.homepage}/+archive/ubuntu/ppa/+files/audio-recorder_${version}%7Ebionic.tar.gz";
sha256 = "160pnmnmc9zwzyclsci3w1qwlgxkfx1y3x5ck6i587w78570an1r";
};

1
pkgs/applications/audio/avldrums-lv2/default.nix

@ -1,7 +1,6 @@
{ stdenv, fetchFromGitHub, pkgconfig, pango, cairo, libGLU, lv2 }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "avldrums.lv2";
version = "0.3.5";

2
pkgs/applications/audio/axoloti/default.nix

@ -4,7 +4,7 @@
stdenv.mkDerivation rec {
version = "1.0.12-2";
name = "axoloti-${version}";
pname = "axoloti";
src = fetchFromGitHub {
owner = "axoloti";

4
pkgs/applications/audio/axoloti/dfu-util.nix

@ -1,14 +1,14 @@
{ stdenv, fetchurl, pkgconfig, libusb1-axoloti }:
stdenv.mkDerivation rec {
name="dfu-util-${version}";
pname = "dfu-util";
version = "0.8";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libusb1-axoloti ];
src = fetchurl {
url = "http://dfu-util.sourceforge.net/releases/${name}.tar.gz";
url = "http://dfu-util.sourceforge.net/releases/${pname}-${version}.tar.gz";
sha256 = "0n7h08avlzin04j93m6hkq9id6hxjiiix7ff9gc2n89aw6dxxjsm";
};

2
pkgs/applications/audio/baudline/default.nix

@ -7,7 +7,7 @@ let
[ libXmu libXt libX11 libXext libXxf86vm libjack2 ];
in
stdenv.mkDerivation rec {
name = "baudline-${version}";
pname = "baudline";
version = "1.08";
src =

4
pkgs/applications/audio/bitmeter/default.nix

@ -1,11 +1,11 @@
{ stdenv, autoreconfHook, fetchurl, libjack2, gtk2, pkgconfig }:
stdenv.mkDerivation rec {
name = "bitmeter-${version}";
pname = "bitmeter";
version = "1.2";
src = fetchurl {
url = "https://devel.tlrmx.org/audio/source/${name}.tar.gz";
url = "https://devel.tlrmx.org/audio/source/${pname}-${version}.tar.gz";
sha256 = "09ck2gxqky701dc1p0ip61rrn16v0pdc7ih2hc2sd63zcw53g2a7";
};

2
pkgs/applications/audio/bitwig-studio/bitwig-studio1.nix

@ -6,7 +6,7 @@
, xdg_utils, zenity, zlib }:
stdenv.mkDerivation rec {
name = "bitwig-studio-${version}";
pname = "bitwig-studio";
version = "1.3.16";
src = fetchurl {

4
pkgs/applications/audio/bristol/default.nix

@ -1,11 +1,11 @@
{ stdenv, fetchurl, alsaLib, libjack2, pkgconfig, libpulseaudio, xorg }:
stdenv.mkDerivation rec {
name = "bristol-${version}";
pname = "bristol";
version = "0.60.11";
src = fetchurl {
url = "mirror://sourceforge/bristol/${name}.tar.gz";
url = "mirror://sourceforge/bristol/${pname}-${version}.tar.gz";
sha256 = "1fi2m4gmvxdi260821y09lxsimq82yv4k5bbgk3kyc3x1nyhn7vx";
};

4
pkgs/applications/audio/bs1770gain/default.nix

@ -1,11 +1,11 @@
{ stdenv, fetchurl, ffmpeg, sox }:
stdenv.mkDerivation rec {
name = "bs1770gain-${version}";
pname = "bs1770gain";
version = "0.5.2";
src = fetchurl {
url = "mirror://sourceforge/bs1770gain/${name}.tar.gz";
url = "mirror://sourceforge/bs1770gain/${pname}-${version}.tar.gz";
sha256 = "1p6yz5q7czyf9ard65sp4kawdlkg40cfscr3b24znymmhs3p7rbk";
};

4
pkgs/applications/audio/calf/default.nix

@ -2,11 +2,11 @@
, gtk2, libjack2, ladspaH , libglade, lv2, pkgconfig }:
stdenv.mkDerivation rec {
name = "calf-${version}";
pname = "calf";
version = "0.90.3";
src = fetchurl {
url = "https://calf-studio-gear.org/files/${name}.tar.gz";
url = "https://calf-studio-gear.org/files/${pname}-${version}.tar.gz";
sha256 = "17x4hylgq4dn9qycsdacfxy64f5cv57n2qgkvsdp524gnqzw4az3";
};

2
pkgs/applications/audio/caps/default.nix

@ -1,6 +1,6 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "caps-${version}";
pname = "caps";
version = "0.9.26";
src = fetchurl {
url = "http://www.quitte.de/dsp/caps_${version}.tar.bz2";

2
pkgs/applications/audio/cava/default.nix

@ -2,7 +2,7 @@
libpulseaudio, ncurses }:
stdenv.mkDerivation rec {
name = "cava-${version}";
pname = "cava";
version = "0.6.1";
buildInputs = [

4
pkgs/applications/audio/cd-discid/default.nix

@ -2,11 +2,11 @@
, IOKit ? null }:
stdenv.mkDerivation rec {
name = "cd-discid-${version}";
pname = "cd-discid";
version = "1.4";
src = fetchurl {
url = "http://linukz.org/download/${name}.tar.gz";
url = "http://linukz.org/download/${pname}-${version}.tar.gz";
sha256 = "0qrcvn7227qaayjcd5rm7z0k5q89qfy5qkdgwr5pd7ih0va8rmpz";
};

2
pkgs/applications/audio/chuck/default.nix

@ -4,7 +4,7 @@
stdenv.mkDerivation rec {
version = "1.4.0.0";
name = "chuck-${version}";
pname = "chuck";
src = fetchurl {
url = "http://chuck.cs.princeton.edu/release/files/chuck-${version}.tgz";

2
pkgs/applications/audio/cmus/default.nix

@ -101,7 +101,7 @@ let
in
stdenv.mkDerivation rec {
name = "cmus-${version}";
pname = "cmus";
version = "2.8.0";
src = fetchFromGitHub {

2
pkgs/applications/audio/cmusfm/default.nix

@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "2018-10-11";
name = "cmusfm-unstable-${version}";
pname = "cmusfm-unstable";
src = fetchFromGitHub {
owner = "Arkq";
repo = "cmusfm";

4
pkgs/applications/audio/csa/default.nix

@ -1,11 +1,11 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "csa-${version}";
pname = "csa";
version = "0.5.100810";
src = fetchurl {
url = "mirror://sourceforge/csa/${name}.tar.gz";
url = "mirror://sourceforge/csa/${pname}-${version}.tar.gz";
sha256 = "1syg81dzdil0dyx1mlx1n7if3qsf2iz243p2zv34a1acfqm509r3";
};

2
pkgs/applications/audio/csound/csound-qt/default.nix

@ -3,7 +3,7 @@
qtwebengine, qtxmlpatterns, rtmidi, fetchpatch }:
stdenv.mkDerivation rec {
name = "csound-qt-${version}";
pname = "csound-qt";
version = "0.9.6-beta3";
src = fetchFromGitHub {

2
pkgs/applications/audio/csound/default.nix

@ -13,7 +13,7 @@
}:
stdenv.mkDerivation rec {
name = "csound-${version}";
pname = "csound";
# When updating, please check if https://github.com/csound/csound/issues/1078
# has been fixed in the new version so we can use the normal fluidsynth
# version and remove fluidsynth 1.x from nixpkgs again.

2
pkgs/applications/audio/deadbeef/plugins/headerbar-gtk3.nix

@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, pkgconfig, libxml2, deadbeef, glib, gtk3 }:
stdenv.mkDerivation rec {
name = "deadbeef-headerbar-gtk3-plugin-${version}";
pname = "deadbeef-headerbar-gtk3-plugin";
version = "1.2";
src = fetchFromGitHub {

2
pkgs/applications/audio/deadbeef/plugins/infobar.nix

@ -1,7 +1,7 @@
{ stdenv, fetchurl, pkgconfig, deadbeef, gtk3, libxml2 }:
stdenv.mkDerivation rec {
name = "deadbeef-infobar-plugin-${version}";
pname = "deadbeef-infobar-plugin";
version = "1.4";
src = fetchurl {

4
pkgs/applications/audio/deadbeef/plugins/mpris2.nix

@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, deadbeef, glib }:
stdenv.mkDerivation rec {
name = "deadbeef-mpris2-plugin-${version}";
pname = "deadbeef-mpris2-plugin";
version = "1.12";
src = fetchurl {
url = "https://github.com/Serranya/deadbeef-mpris2-plugin/releases/download/v${version}/${name}.tar.xz";
url = "https://github.com/Serranya/deadbeef-mpris2-plugin/releases/download/v${version}/${pname}-${version}.tar.xz";
sha256 = "0s3y4ka4qf38cypc0xspy79q0g5y1kqx6ldad7yr6a45nw6j95jh";
};

2
pkgs/applications/audio/denemo/default.nix

@ -5,7 +5,7 @@
, portaudio, portmidi, fftw, makeWrapper }:
stdenv.mkDerivation rec {
name = "denemo-${version}";
pname = "denemo";
version = "2.3.0";
src = fetchurl {

2
pkgs/applications/audio/dfasma/default.nix

@ -27,7 +27,7 @@ let
};
in stdenv.mkDerivation rec {
name = "dfasma-${version}";
pname = "dfasma";
version = "1.4.5";
src = fetchFromGitHub {

2
pkgs/applications/audio/distrho/default.nix

@ -8,7 +8,7 @@ let
else if stdenv.hostPlatform.isWindows then "mingw"
else "linux";
in stdenv.mkDerivation rec {
name = "distrho-ports-${version}";
pname = "distrho-ports";
version = "2018-04-16";
src = fetchFromGitHub {

4
pkgs/applications/audio/drumgizmo/default.nix

@ -4,10 +4,10 @@
stdenv.mkDerivation rec {
version = "0.9.17";
name = "drumgizmo-${version}";
pname = "drumgizmo";
src = fetchurl {
url = "https://www.drumgizmo.org/releases/${name}/${name}.tar.gz";
url = "https://www.drumgizmo.org/releases/${pname}-${version}/${pname}-${version}.tar.gz";
sha256 = "177c27kz9srds7a659zz9yhp58z0zsk0ydwww7l3jkjlylm1p8x1";
};

4
pkgs/applications/audio/drumkv1/default.nix

@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, libjack2, alsaLib, libsndfile, liblo, lv2, qt5 }:
stdenv.mkDerivation rec {
name = "drumkv1-${version}";
pname = "drumkv1";
version = "0.9.9";
src = fetchurl {
url = "mirror://sourceforge/drumkv1/${name}.tar.gz";
url = "mirror://sourceforge/drumkv1/${pname}-${version}.tar.gz";
sha256 = "02sa29fdjgwcf7izly685gxvga3bxyyqvskvfiisgm2xg3h9r983";
};

2
pkgs/applications/audio/ecasound/default.nix

@ -14,7 +14,7 @@
# TODO: fix readline, ncurses, lilv, liblo, liboil and python. See configure log.
stdenv.mkDerivation rec {
name = "ecasound-${version}";
pname = "ecasound";
version = "2.9.2";
src = fetchurl {

4
pkgs/applications/audio/eflite/default.nix

@ -1,11 +1,11 @@
{ stdenv, fetchurl, fetchpatch, flite, alsaLib, debug ? false }:
stdenv.mkDerivation rec {
name = "eflite-${version}";
pname = "eflite";
version = "0.4.1";
src = fetchurl {
url = "https://sourceforge.net/projects/eflite/files/eflite/${version}/${name}.tar.gz";
url = "https://sourceforge.net/projects/eflite/files/eflite/${version}/${pname}-${version}.tar.gz";
sha256 = "088p9w816s02s64grfs28gai3lnibzdjb9d1jwxzr8smbs2qbbci";
};

4
pkgs/applications/audio/eq10q/default.nix

@ -1,10 +1,10 @@
{ stdenv, fetchurl, fetchpatch, cmake, fftw, gtkmm2, libxcb, lv2, pkgconfig
, xorg }:
stdenv.mkDerivation rec {
name = "eq10q-${version}";
pname = "eq10q";
version = "2.2";
src = fetchurl {
url = "mirror://sourceforge/project/eq10q/${name}.tar.gz";
url = "mirror://sourceforge/project/eq10q/${pname}-${version}.tar.gz";
sha256 = "16mhcav8gwkp29k9ki4dlkajlcgh1i2wvldabxb046d37dq4qzrk";
};

2
pkgs/applications/audio/espeak-ng/default.nix

@ -4,7 +4,7 @@
, sonicSupport ? true, sonic }:
stdenv.mkDerivation rec {
name = "espeak-ng-${version}";
pname = "espeak-ng";
version = "1.49.2";
src = fetchFromGitHub {

1
pkgs/applications/audio/eteroj.lv2/default.nix

@ -3,7 +3,6 @@
stdenv.mkDerivation rec {
pname = "eteroj.lv2";
version = "0.4.0";
name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "OpenMusicKontrollers";

2
pkgs/applications/audio/faust/faustlive.nix

@ -4,7 +4,7 @@
}:
stdenv.mkDerivation rec {
name = "faustlive-${version}";
pname = "faustlive";
version = "2017-12-05";
src = fetchFromGitHub {
owner = "grame-cncm";

4
pkgs/applications/audio/flac123/default.nix

@ -1,11 +1,11 @@
{ stdenv, fetchurl, autoreconfHook, flac, libao, libogg, popt }:
stdenv.mkDerivation rec {
name = "flac123-${version}";
pname = "flac123";
version = "0.0.12";
src = fetchurl {
url = "mirror://sourceforge/flac-tools/${name}-release.tar.gz";
url = "mirror://sourceforge/flac-tools/${pname}-${version}-release.tar.gz";
sha256 = "0zg4ahkg7v81za518x32wldf42g0rrvlrcqhrg9sv3li9bayyxhr";
};

2
pkgs/applications/audio/flacon/default.nix

@ -4,7 +4,7 @@
}:
stdenv.mkDerivation rec {
name = "flacon-${version}";
pname = "flacon";
version = "5.4.0";
src = fetchFromGitHub {

2
pkgs/applications/audio/fmit/default.nix

@ -10,7 +10,7 @@ assert portaudioSupport -> portaudio != null;
with stdenv.lib;
stdenv.mkDerivation rec {
name = "fmit-${version}";
pname = "fmit";
version = "1.1.14";
src = fetchFromGitHub {

2
pkgs/applications/audio/fmsynth/default.nix

@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, gtkmm2, lv2, lvtk, pkgconfig }:
stdenv.mkDerivation rec {
name = "fmsynth-unstable-${version}";
pname = "fmsynth-unstable";
version = "2015-02-07";
src = fetchFromGitHub {
owner = "Themaister";

4
pkgs/applications/audio/fomp/default.nix

@ -1,11 +1,11 @@
{ stdenv, fetchurl, lv2, pkgconfig, python2, wafHook }:
stdenv.mkDerivation rec {
name = "fomp-${version}";
pname = "fomp";
version = "1.0.0";
src = fetchurl {
url = "https://download.drobilla.net/${name}.tar.bz2";
url = "https://download.drobilla.net/${pname}-${version}.tar.bz2";
sha256 = "1hh2xhknanqn3iwp12ihl6bf8p7bqxryms9qk7mh21lixl42b8k5";
};

2
pkgs/applications/audio/foo-yc20/default.nix

@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "git-2015-05-21";
name = "foo-yc20-${version}";
pname = "foo-yc20";
src = fetchFromGitHub {
owner = "sampov2";
repo = "foo-yc20";

2
pkgs/applications/audio/freewheeling/default.nix

@ -7,7 +7,7 @@ let
in
stdenv.mkDerivation rec {
name = "freewheeling-${version}";
pname = "freewheeling";
version = "0.6.5";
src = fetchFromGitHub {

4
pkgs/applications/audio/game-music-emu/default.nix

@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
version = "0.6.1";
name = "game-music-emu-${version}";
pname = "game-music-emu";
src = fetchurl {
url = "https://bitbucket.org/mpyne/game-music-emu/downloads/${name}.tar.bz2";
url = "https://bitbucket.org/mpyne/game-music-emu/downloads/${pname}-${version}.tar.bz2";
sha256 = "08fk7zddpn7v93d0fa7fcypx7hvgwx9b5psj9l6m8b87k2hbw4fw";
};

4
pkgs/applications/audio/gigedit/default.nix

@ -3,11 +3,11 @@
}:
stdenv.mkDerivation rec {
name = "gigedit-${version}";
pname = "gigedit";
version = "1.1.0";
src = fetchurl {
url = "https://download.linuxsampler.org/packages/${name}.tar.bz2";
url = "https://download.linuxsampler.org/packages/${pname}-${version}.tar.bz2";
sha256 = "087pc919q28r1vw31c7w4m14bqnp4md1i2wbmk8w0vmwv2cbx2ni";
};

2
pkgs/applications/audio/gmpc/default.nix

@ -4,7 +4,7 @@
}:
stdenv.mkDerivation rec {
name = "gmpc-${version}";
pname = "gmpc";
version = "11.8.16";
libmpd = stdenv.mkDerivation {

2
pkgs/applications/audio/gnome-podcasts/default.nix

@ -5,7 +5,7 @@
# rustPlatform.buildRustPackage rec {
stdenv.mkDerivation rec {
version = "0.4.6";
name = "gnome-podcasts-${version}";
pname = "gnome-podcasts";
src = fetchurl {
url = https://gitlab.gnome.org/World/podcasts/uploads/e59ac5d618d7daf4c7f33ba72957c466/gnome-podcasts-0.4.6.tar.xz;

1
pkgs/applications/audio/greg/default.nix

@ -3,7 +3,6 @@
with pythonPackages; buildPythonApplication rec {
pname = "greg";
version = "0.4.7";
name = pname + "-" + version;
disabled = !isPy3k;

4
pkgs/applications/audio/gtkpod/default.nix

@ -4,10 +4,10 @@
stdenv.mkDerivation rec {
version = "2.1.5";
name = "gtkpod-${version}";
pname = "gtkpod";
src = fetchurl {
url = "mirror://sourceforge/gtkpod/${name}.tar.gz";
url = "mirror://sourceforge/gtkpod/${pname}-${version}.tar.gz";
sha256 = "0xisrpx069f7bjkyc8vqxb4k0480jmx1wscqxr6cpq1qj6pchzd5";
};

2
pkgs/applications/audio/guitarix/default.nix

@ -11,7 +11,7 @@ let
in
stdenv.mkDerivation rec {
name = "guitarix-${version}";
pname = "guitarix";
version = "0.38.1";
src = fetchurl {

1
pkgs/applications/audio/gxplugins-lv2/default.nix

@ -1,7 +1,6 @@
{ stdenv, fetchFromGitHub, xorg, xorgproto, cairo, lv2, pkgconfig }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "GxPlugins.lv2";
version = "0.7";

2
pkgs/applications/audio/helm/default.nix

@ -3,7 +3,7 @@
stdenv.mkDerivation rec {
version = "0.9.0";
name = "helm-${version}";
pname = "helm";
src = fetchFromGitHub {
owner = "mtytel";

2
pkgs/applications/audio/hydrogen/default.nix

@ -3,7 +3,7 @@
stdenv.mkDerivation rec {
version = "0.9.7";
name = "hydrogen-${version}";
pname = "hydrogen";
src = fetchurl {
url = "https://github.com/hydrogen-music/hydrogen/archive/${version}.tar.gz";

2
pkgs/applications/audio/i-score/default.nix

@ -27,7 +27,7 @@
stdenv.mkDerivation rec {
version = "1.0.0-b31";
name = "i-score-${version}";
pname = "i-score";
src = fetchFromGitHub {
owner = "OSSIA";

2
pkgs/applications/audio/iannix/default.nix

@ -2,7 +2,7 @@
}:
stdenv.mkDerivation rec {
name = "iannix-${version}";
pname = "iannix";
version = "2016-01-31";
src = fetchFromGitHub {
owner = "iannix";

4
pkgs/applications/audio/id3v2/default.nix

<
@ -1,11 +1,11 @@
{stdenv, fetchurl, id3lib, groff, zlib}: