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
+3 -3
View File
@@ -3,7 +3,7 @@
stdenv.mkDerivation rec {
name = "tecoc-git-${version}";
pname = "tecoc-git";
version = "20150606";
src = fetchFromGitHub {
@@ -28,9 +28,9 @@ stdenv.mkDerivation rec {
makeFlags = [ "CC=${stdenv.cc}/bin/cc" "-C src/" ];
installPhase = ''
mkdir -p $out/bin $out/share/doc/${name} $out/lib/teco/macros
mkdir -p $out/bin $out/share/doc/${pname}-${version} $out/lib/teco/macros
cp src/tecoc $out/bin
cp src/aaout.txt doc/* $out/share/doc/${name}
cp src/aaout.txt doc/* $out/share/doc/${pname}-${version}
cp lib/* lib2/* $out/lib/teco/macros
(cd $out/bin
ln -s tecoc Make