Unverified Commit 3764d70f authored by Adam C. Stephens's avatar Adam C. Stephens Committed by GitHub
Browse files

nix-update-source: 0.6.3 -> 0.7.0 (#340228)

parents b512863b c25ca885
Loading
Loading
Loading
Loading
+21 −16
Original line number Diff line number Diff line
@@ -2,13 +2,13 @@

python3Packages.buildPythonApplication rec {
  pname = "nix-update-source";
  version = "0.6.3";
  version = "0.7.0";

  src = fetchFromGitHub {
    hash = "sha256-+49Yb+rZ3CzFnwEpwj5xrcMUVBiYOJtCk9YeZ15IM/U=";
    owner = "timbertson";
    repo = "nix-update-source";
    rev = "version-${version}";
    sha256 = "157wvv9vnaszzwbj68jpdc0imcm1hdab3z760bx2axbsgfpqqilz";
  };

  propagatedBuildInputs = [ nix-prefetch-scripts ];
@@ -34,8 +34,11 @@ python3Packages.buildPythonApplication rec {
        overrideSrc = drv: lib.overrideDerivation drv (orig: { inherit src; });
      };

    updateScript = ''
      #!${runtimeShell}

    updateScript = [
      runtimeShell
      "-c"
      ''
        set -e
        echo
        cd ${toString ./.}
@@ -46,8 +49,10 @@ python3Packages.buildPythonApplication rec {
          --set repo nix-update-source \
          --set type fetchFromGitHub \
          --set rev 'version-{version}' \
          --nix-literal rev 'version-''${version}'\
          --modify-nix default.nix
    '';
      ''
    ];
  };

  meta = {