Unverified Commit 5cab7f48 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

treewide: replace pname with string literal (#416998)

parents 7246b4b3 1750d6c2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {

  src = fetchFromGitHub {
    owner = "RJVB";
    repo = pname;
    repo = "afsctool";
    rev = "v${version}";
    hash = "sha256-cZ0P9cygj+5GgkDRpQk7P9z8zh087fpVfrYXMRRVUAI=";
  };
+2 −2
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ let

        src = fetchFromGitLab {
          owner = "bramw";
          repo = pname;
          repo = "baserow_premium";
          rev = "refs/tags/${version}";
          hash = "sha256-zT2afl3QNE2dO3JXjsZXqSmm1lv3EorG3mYZLQQMQ2Q=";
        };
@@ -45,7 +45,7 @@ buildPythonApplication rec {

  src = fetchFromGitLab {
    owner = "bramw";
    repo = pname;
    repo = "baserow";
    rev = "refs/tags/${version}";
    hash = "sha256-zT2afl3QNE2dO3JXjsZXqSmm1lv3EorG3mYZLQQMQ2Q=";
  };
+2 −2
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {

  src = fetchFromGitHub {
    owner = "BioPP";
    repo = pname;
    repo = "bpp-phyl";
    rev = "v${version}";
    sha256 = "192zks6wyk903n06c2lbsscdhkjnfwms8p7jblsmk3lvjhdipb20";
  };
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
  ];

  postFixup = ''
    substituteInPlace $out/lib/cmake/${pname}/${pname}-targets.cmake  \
    substituteInPlace $out/lib/cmake/bpp-phyl/bpp-phyl-targets.cmake  \
      --replace 'set(_IMPORT_PREFIX' '#set(_IMPORT_PREFIX'
  '';

+2 −2
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {

  src = fetchFromGitHub {
    owner = "BioPP";
    repo = pname;
    repo = "bpp-popgen";
    rev = "v${version}";
    sha256 = "0bz0fhrq3dri6a0hvfc3zlvrns8mrzzlnicw5pyfa812gc1qwfvh";
  };
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
  ];

  postFixup = ''
    substituteInPlace $out/lib/cmake/${pname}/${pname}-targets.cmake  \
    substituteInPlace $out/lib/cmake/bpp-popgen/bpp-popgen-targets.cmake  \
      --replace 'set(_IMPORT_PREFIX' '#set(_IMPORT_PREFIX'
  '';
  # prevents cmake from exporting incorrect INTERFACE_INCLUDE_DIRECTORIES
+2 −2
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {

  src = fetchFromGitHub {
    owner = "BioPP";
    repo = pname;
    repo = "bpp-seq";
    rev = "v${version}";
    sha256 = "1mc09g8jswzsa4wgrfv59jxn15ys3q8s0227p1j838wkphlwn2qk";
  };
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
  buildInputs = [ bpp-core ];

  postFixup = ''
    substituteInPlace $out/lib/cmake/${pname}/${pname}-targets.cmake  \
    substituteInPlace $out/lib/cmake/bpp-seq/bpp-seq-targets.cmake  \
      --replace 'set(_IMPORT_PREFIX' '#set(_IMPORT_PREFIX'
  '';
  # prevents cmake from exporting incorrect INTERFACE_INCLUDE_DIRECTORIES
Loading