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

@@ -8,7 +8,7 @@
}:
stdenv.mkDerivation rec {
name = "allegro-${version}";
pname = "allegro";
version = "5.2.4.0";
src = fetchFromGitHub {

View File

@@ -4,11 +4,11 @@
, libXxf86vm, openal, libGLU_combined }:
stdenv.mkDerivation rec {
name = "allegro-${version}";
pname = "allegro";
version="4.4.2";
src = fetchurl {
url = "https://github.com/liballeg/allegro5/releases/download/${version}/${name}.tar.gz";
url = "https://github.com/liballeg/allegro5/releases/download/${version}/${pname}-${version}.tar.gz";
sha256 = "1p0ghkmpc4kwij1z9rzxfv7adnpy4ayi0ifahlns1bdzgmbyf88v";
};