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

treewide replacement of

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

to pname
This commit is contained in:
volth
2019-08-15 13:41:18 +01:00
committed by Jörg Thalheim
parent cff9e6429a
commit 46420bbaa3
4616 changed files with 5674 additions and 6081 deletions
+2 -2
View File
@@ -48,11 +48,11 @@ let pythonPlugin = pkg : lib.nameValuePair "python${if pkg.isPy2 then "2" else "
in
stdenv.mkDerivation rec {
name = "uwsgi-${version}";
pname = "uwsgi";
version = "2.0.18";
src = fetchurl {
url = "https://projects.unbit.it/downloads/${name}.tar.gz";
url = "https://projects.unbit.it/downloads/${pname}-${version}.tar.gz";
sha256 = "10zmk4npknigmbqcq1wmhd461dk93159px172112vyq0i19sqwj9";
};