mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
e6dae5d7f4
Signed-off-by: Shea Levy <shea@shealevy.com>
10 lines
310 B
Nix
10 lines
310 B
Nix
{ 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";
|
|
}
|