mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 08:39:08 +03:00
Merge pull request #258616 from ctron/add-trunk-ng
add trunk-ng, a fork of trunk
This commit is contained in:
commit
d1a8d93744
@ -3701,6 +3701,12 @@
|
||||
githubId = 490965;
|
||||
name = "Craig Swank";
|
||||
};
|
||||
ctron = {
|
||||
email = "ctron@dentrassi.de";
|
||||
github = "ctron";
|
||||
githubId = 202474;
|
||||
name = "Jens Reimann";
|
||||
};
|
||||
cust0dian = {
|
||||
email = "serg@effectful.software";
|
||||
github = "cust0dian";
|
||||
|
@ -96,6 +96,8 @@
|
||||
|
||||
- [netclient](https://github.com/gravitl/netclient), an automated WireGuard® Management Client. Available as [services.netclient](#opt-services.netclient.enable).
|
||||
|
||||
- [trunk-ng](https://github.com/ctron/trunk), A fork of `trunk`: Build, bundle & ship your Rust WASM application to the web
|
||||
|
||||
## Backward Incompatibilities {#sec-release-23.11-incompatibilities}
|
||||
|
||||
- `network-online.target` has been fixed to no longer time out for systems with `networking.useDHCP = true` and `networking.useNetworkd = true`.
|
||||
|
31
pkgs/by-name/tr/trunk-ng/package.nix
Normal file
31
pkgs/by-name/tr/trunk-ng/package.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ lib, stdenv, rustPlatform, fetchFromGitHub, pkg-config
|
||||
, openssl, libiconv, CoreServices, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "trunk-ng";
|
||||
version = "0.17.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ctron";
|
||||
repo = "trunk";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-ycZIqDBZccPapOK0ZI9Cvq94tRxChrsWX1rhyWh0S2c=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = if stdenv.isDarwin
|
||||
then [ libiconv CoreServices Security ]
|
||||
else [ openssl ];
|
||||
|
||||
# requires network
|
||||
checkFlags = [ "--skip=tools::tests::download_and_install_binaries" ];
|
||||
|
||||
cargoHash = "sha256-URHArTog34JcuxXHzTQBjQOFMffarNb51d9sUOfjm6c=";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/ctron/trunk";
|
||||
description = "Build, bundle & ship your Rust WASM application to the web";
|
||||
maintainers = with maintainers; [ ctron ];
|
||||
license = with licenses; [ asl20 ];
|
||||
};
|
||||
}
|
@ -14037,6 +14037,10 @@ with pkgs;
|
||||
|
||||
trunk-io = callPackage ../development/tools/trunk-io { };
|
||||
|
||||
trunk-ng = callPackage ../by-name/tr/trunk-ng/package.nix {
|
||||
inherit (darwin.apple_sdk.frameworks) CoreServices Security;
|
||||
};
|
||||
|
||||
tthsum = callPackage ../applications/misc/tthsum { };
|
||||
|
||||
ttdl = callPackage ../applications/misc/ttdl { };
|
||||
|
Loading…
Reference in New Issue
Block a user