From 5164882a267e0fa12025fa9e91e867f4e8a69682 Mon Sep 17 00:00:00 2001 From: vpochapuis Date: Fri, 5 Apr 2024 19:57:56 +0800 Subject: [PATCH 1/2] maintainers: add vpochapuis --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index d4e75170cc18..79edb2cd38b6 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -21006,6 +21006,12 @@ githubId = 357664; name = "Viktor Petersson"; }; + vpochapuis = { + email = "vincent.professional@chapuis.ovh"; + github = "vpochapuis"; + githubId = 75721408; + name = "Vincent Chapuis"; + }; vq = { email = "vq@erq.se"; github = "vq"; From 0cd4466c2521dbdc3f6d6da63416985877e4c403 Mon Sep 17 00:00:00 2001 From: vpochapuis Date: Fri, 5 Apr 2024 19:58:37 +0800 Subject: [PATCH 2/2] ldproxy: init at 0.31.4 --- pkgs/by-name/ld/ldproxy/package.nix | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pkgs/by-name/ld/ldproxy/package.nix diff --git a/pkgs/by-name/ld/ldproxy/package.nix b/pkgs/by-name/ld/ldproxy/package.nix new file mode 100644 index 000000000000..4736207cdc17 --- /dev/null +++ b/pkgs/by-name/ld/ldproxy/package.nix @@ -0,0 +1,29 @@ +{ lib, rustPlatform, fetchFromGitHub }: + +rustPlatform.buildRustPackage rec { + pname = "ldproxy"; + version = "0.31.4"; + + # The source of this tools actually comes from the set of tools located in the `esp-rs:embuild` repository + # cf: https://github.com/esp-rs/embuild + src = fetchFromGitHub { + owner = "esp-rs"; + repo = "embuild"; + rev = "v${version}"; + hash = "sha256-YH2CPb3uBlPncd+KkP25xhCVvDB7HDxJuSqWOJ1LT3k="; + }; + + cargoHash = "sha256-HobX/aBn10KPpUKRSLt2IvfFVW7YpOu5tX4zNSCz6tw="; + + # However we are only interested in building the specific crate located at `/ldproxy` + # cf: https://github.com/esp-rs/embuild/tree/v0.31.4/ldproxy + buildAndTestSubdir = "ldproxy"; + + meta = with lib; { + description = "Linker Proxy: a simple tool to forward linker arguments to the actual linker executable"; + homepage = "https://github.com/esp-rs/embuild"; + changelog = "https://github.com/esp-rs/embuild/blob/v${version}/CHANGELOG.md"; + license = with licenses; [ mit /* or */ asl20 ]; + maintainers = with maintainers; [ vpochapuis ]; + }; +}