Add fetchbower function to go along with bower2nix
Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
{ stdenv, fetch-bower, git }: name: version: target: outputHash: stdenv.mkDerivation {
|
||||
name = "${name}-${version}";
|
||||
realBuilder = "${fetch-bower}/bin/fetch-bower";
|
||||
args = [ name version target ];
|
||||
outputHashMode = "recursive";
|
||||
outputHashAlgo = "sha256";
|
||||
inherit outputHash;
|
||||
PATH = "${git}/bin";
|
||||
}
|
||||
Reference in New Issue
Block a user