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
26
pkgs/servers/dns/doh-proxy-rust/default.nix
Normal file
26
pkgs/servers/dns/doh-proxy-rust/default.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ lib, rustPlatform, fetchCrate, stdenv, Security, libiconv, nixosTests }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "doh-proxy-rust";
|
||||
version = "0.9.2";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit version;
|
||||
crateName = "doh-proxy";
|
||||
sha256 = "sha256-/637lR6OycVOOUVe29uFR1LtYIoFJ6gslDV9uAGkU1A=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-tadTyWSuknAjosv7AvZF0/8FlHL/zcFT5LDW1KcMeHI=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ Security libiconv ];
|
||||
|
||||
passthru.tests = { inherit (nixosTests) doh-proxy-rust; };
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/jedisct1/doh-server";
|
||||
description = "Fast, mature, secure DoH server proxy written in Rust";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ stephank ];
|
||||
mainProgram = "doh-proxy";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue