Revert "nix-update-source: 0.2.1 -> 0.2.2"

This reverts commit b984d5d25f.
This commit is contained in:
Eelco Dolstra 2017-01-30 11:29:41 +01:00
parent 35349b6c2a
commit e7ec067b6b
No known key found for this signature in database
GPG Key ID: 8170B4726D7198DE

View File

@ -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.2.2"; version = "0.2.1";
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-${version}"; rev = "version-${version}";
sha256 = "0liigkr37ib2xy269bcp53ivpir4mpg6lzwnfrsqc4kbkz3l16gg"; sha256 = "1w3aj0kjp8zhxkzqxnm5srrsqsvrmxhn4sqkr4kjffh61jg8jq8a";
}; };
propagatedBuildInputs = [ nix-prefetch-scripts ]; propagatedBuildInputs = [ nix-prefetch-scripts ];
passthru = { passthru = {
@ -20,7 +20,7 @@ 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 // { inherit src; };
}; };
meta = { meta = {
description = "Utility to autimate updating of nix derivation sources"; description = "Utility to autimate updating of nix derivation sources";