mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
nix-update-source: 0.4.0 -> 0.5.0
This commit is contained in:
parent
313b5fce7b
commit
0eab0596d0
|
@ -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 a new issue