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
@@ -20,7 +20,7 @@ let
lightworks = stdenv.mkDerivation rec {
version = "14.0.0";
name = "lightworks-${version}";
pname = "lightworks";
src =
if stdenv.hostPlatform.system == "x86_64-linux" then
@@ -28,7 +28,7 @@ let
url = "http://downloads.lwks.com/v14/lwks-14.0.0-amd64.deb";
sha256 = "66eb9f9678d979db76199f1c99a71df0ddc017bb47dfda976b508849ab305033";
}
else throw "${name} is not supported on ${stdenv.hostPlatform.system}";
else throw "${pname}-${version} is not supported on ${stdenv.hostPlatform.system}";
buildInputs = [ dpkg makeWrapper ];