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 }:
|
{ lib, pkgs, fetchFromGitHub, python3Packages, nix-prefetch-scripts }:
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
version = "0.4.0";
|
version = "0.5.0";
|
||||||
name = "nix-update-source-${version}";
|
name = "nix-update-source-${version}";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "timbertson";
|
owner = "timbertson";
|
||||||
repo = "nix-update-source";
|
repo = "nix-update-source";
|
||||||
rev = "version-0.4.0";
|
rev = "version-0.5.0";
|
||||||
sha256 = "0gz0f7nx1q697s16ya7q84q1cj020n547k2ffb99ds2r40nckr2g";
|
sha256 = "13icwk249frddsmn9albasikwp8asmgvp3jf9xj9adzh63wzh1i7";
|
||||||
};
|
};
|
||||||
propagatedBuildInputs = [ nix-prefetch-scripts ];
|
propagatedBuildInputs = [ nix-prefetch-scripts ];
|
||||||
passthru = {
|
passthru = {
|
||||||
|
@ -23,7 +23,10 @@ python3Packages.buildPythonApplication rec {
|
||||||
fetchFn = builtins.getAttr json.fetch.fn fetchers;
|
fetchFn = builtins.getAttr json.fetch.fn fetchers;
|
||||||
src = fetchFn json.fetch.args;
|
src = fetchFn json.fetch.args;
|
||||||
in
|
in
|
||||||
json // json.fetch // { inherit src; };
|
json // json.fetch // {
|
||||||
|
inherit src;
|
||||||
|
overrideSrc = drv: lib.overrideDerivation drv (orig: { inherit src; });
|
||||||
|
};
|
||||||
updateScript = ''
|
updateScript = ''
|
||||||
set -e
|
set -e
|
||||||
echo
|
echo
|
||||||
|
|
Loading…
Reference in a new issue