mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
Merge pull request #39325 from timbertson/nix-update-source
nix-update-source: 0.4.0 -> 0.5.0
This commit is contained in:
commit
7c370ae6c7
@ -1,12 +1,12 @@
|
||||
{ lib, pkgs, fetchFromGitHub, python3Packages, nix-prefetch-scripts }:
|
||||
python3Packages.buildPythonApplication rec {
|
||||
version = "0.4.0";
|
||||
version = "0.5.0";
|
||||
name = "nix-update-source-${version}";
|
||||
src = fetchFromGitHub {
|
||||
owner = "timbertson";
|
||||
repo = "nix-update-source";
|
||||
rev = "version-0.4.0";
|
||||
sha256 = "0gz0f7nx1q697s16ya7q84q1cj020n547k2ffb99ds2r40nckr2g";
|
||||
rev = "version-0.5.0";
|
||||
sha256 = "13icwk249frddsmn9albasikwp8asmgvp3jf9xj9adzh63wzh1i7";
|
||||
};
|
||||
propagatedBuildInputs = [ nix-prefetch-scripts ];
|
||||
passthru = {
|
||||
@ -23,7 +23,10 @@ python3Packages.buildPythonApplication rec {
|
||||
fetchFn = builtins.getAttr json.fetch.fn fetchers;
|
||||
src = fetchFn json.fetch.args;
|
||||
in
|
||||
json // json.fetch // { inherit src; };
|
||||
json // json.fetch // {
|
||||
inherit src;
|
||||
overrideSrc = drv: lib.overrideDerivation drv (orig: { inherit src; });
|
||||
};
|
||||
updateScript = ''
|
||||
set -e
|
||||
echo
|
||||
|
Loading…
Reference in New Issue
Block a user