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 12:41:18 +00:00
committed by Jörg Thalheim
parent cff9e6429a
commit 46420bbaa3
4616 changed files with 5674 additions and 6081 deletions

View File

@@ -5,13 +5,13 @@
}:
stdenv.mkDerivation rec {
name = "pyblock-${version}";
pname = "pyblock";
version = "0.53";
md5_path = "f6d33a8362dee358517d0a9e2ebdd044";
src = pkgs.fetchurl rec {
url = "https://src.fedoraproject.org/repo/pkgs/python-pyblock/"
+ "${name}.tar.bz2/${md5_path}/${name}.tar.bz2";
+ "${pname}-${version}.tar.bz2/${md5_path}/${pname}-${version}.tar.bz2";
sha256 = "f6cef88969300a6564498557eeea1d8da58acceae238077852ff261a2cb1d815";
};