sdrangel: fix build on x86_64-darwin
[NixPkgs.git] / pkgs / build-support / fetchbitbucket / default.nix
blob2f9103f2bb3e0e0b809b081dd66558ca3ced61e2
1 { fetchzip, lib }:
3 lib.makeOverridable (
4 { owner, repo, rev, name ? "source"
5 , ... # For hash agility
6 }@args: fetchzip ({
7   inherit name;
8   url = "https://bitbucket.org/${owner}/${repo}/get/${rev}.tar.gz";
9   meta.homepage = "https://bitbucket.org/${owner}/${repo}/";
10 } // removeAttrs args [ "owner" "repo" "rev" ]) // { inherit rev; }