uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
1455
pkgs/development/tools/geckodriver/cargo-lock.patch
Normal file
1455
pkgs/development/tools/geckodriver/cargo-lock.patch
Normal file
File diff suppressed because it is too large
Load diff
35
pkgs/development/tools/geckodriver/default.nix
Normal file
35
pkgs/development/tools/geckodriver/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ lib
|
||||
, fetchzip
|
||||
, rustPlatform
|
||||
, stdenv
|
||||
, Security
|
||||
, libiconv
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage {
|
||||
version = "0.30.0";
|
||||
pname = "geckodriver";
|
||||
sourceRoot = "source/testing/geckodriver";
|
||||
|
||||
# Source revisions are noted alongside the binary releases:
|
||||
# https://github.com/mozilla/geckodriver/releases
|
||||
src = (fetchzip {
|
||||
url = "https://hg.mozilla.org/mozilla-central/archive/d372710b98a6ce5d1b2a9dffd53a879091c5c148.zip/testing";
|
||||
sha256 = "0d27h9c8vw4rs9c2l9wms4lc931nbp2g5hacsh24zhc9y3v454i6";
|
||||
}).overrideAttrs (_: {
|
||||
# normally guessed by the url's file extension, force it to unpack properly
|
||||
unpackCmd = "unzip $curSrc";
|
||||
});
|
||||
|
||||
cargoPatches = [ ./cargo-lock.patch ];
|
||||
cargoSha256 = "08zcrhrmxh3c3iwd7kbnr19lfisikb779i2r7ir7b1i1ynmi4v6r";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Proxy for using W3C WebDriver-compatible clients to interact with Gecko-based browsers";
|
||||
homepage = "https://github.com/mozilla/geckodriver";
|
||||
license = licenses.mpl20;
|
||||
maintainers = with maintainers; [ jraygauthier ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue