packaging: Use a recent bower2nix to have fetch-bower

Recent versions of bower2nix provide "fetch-bower" as a separate command. This
command is needed for the backported bower related utilities.
This commit is contained in:
Johannes Bornhold 2016-08-31 12:18:00 +02:00
parent 22a7abe8cc
commit 4d896a15bf

View file

@ -8,9 +8,16 @@
{ buildInputs ? [], generated, ... } @ attrs:
let
bower2nix-src = pkgs.fetchzip {
url = "https://github.com/rvl/bower2nix/archive/v3.0.1.tar.gz";
sha256 = "1zbvz96k2j6g0r4lvm5cgh41a73k9dgayk7x63cmg538dzznxvyb";
};
bower2nix = import "${bower2nix-src}/default.nix" { inherit pkgs; };
fetchbower = import ./backport-16.03-fetchbower.nix {
inherit (pkgs) stdenv lib;
inherit (pkgs.nodePackages) bower2nix;
inherit bower2nix;
};
# Fetches the bower packages. `generated` should be the result of a