diff --git a/pkgs/by-name/te/tezos-rust-libs/package.nix b/pkgs/by-name/te/tezos-rust-libs/package.nix deleted file mode 100644 index 03e10ca9ed6b..000000000000 --- a/pkgs/by-name/te/tezos-rust-libs/package.nix +++ /dev/null @@ -1,68 +0,0 @@ -{ - lib, - fetchFromGitLab, - stdenv, - llvmPackages, - cargo, - libiconv, -}: - -stdenv.mkDerivation rec { - version = "1.5"; - pname = "tezos-rust-libs"; - src = fetchFromGitLab { - owner = "tezos"; - repo = "tezos-rust-libs"; - rev = "v${version}"; - hash = "sha256-SuCqDZDXmWdGI/GN+3nYcUk66jnW5FQQaeTB76/rvaw="; - }; - - nativeBuildInputs = [ - llvmPackages.llvm - cargo - ]; - propagatedBuildInputs = [ llvmPackages.libllvm ]; - buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ]; - - buildPhase = '' - runHook preBuild - - cargo build \ - --target-dir target-librustzcash \ - --package librustzcash \ - --release - - cargo build \ - --target-dir target-wasmer \ - --package wasmer-c-api \ - --no-default-features \ - --features singlepass,cranelift,wat,middlewares,universal \ - --release - - runHook postBuild - ''; - - installPhase = '' - runHook preInstall - - mkdir -p $out/lib/tezos-rust-libs/rust - cp "librustzcash/include/librustzcash.h" \ - "target-librustzcash/release/librustzcash.a" \ - "wasmer-2.3.0/lib/c-api/wasm.h" \ - "wasmer-2.3.0/lib/c-api/wasmer.h" \ - "target-wasmer/release/libwasmer.a" \ - "$out/lib/tezos-rust-libs" - cp -r "librustzcash/include/rust" "$out/lib/tezos-rust-libs" - - runHook postInstall - ''; - - cargoVendorDir = "./vendor"; - - meta = { - homepage = "https://gitlab.com/tezos/tezos-rust-libs"; - description = "Tezos: all rust dependencies and their dependencies"; - license = lib.licenses.mit; - maintainers = [ lib.maintainers.ulrikstrid ]; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 8878ce3fd2fb..a7504c19471a 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1889,6 +1889,7 @@ mapAliases { tepl = libgedit-tepl; # Added 2024-04-29 termplay = throw "'termplay' has been removed due to lack of maintenance upstream"; # Added 2025-01-25 testVersion = testers.testVersion; # Added 2022-04-20 + tezos-rust-libs = ligo; # Added 2025-06-03 tfplugindocs = terraform-plugin-docs; # Added 2023-11-01 thiefmd = throw "'thiefmd' has been removed due to lack of maintenance upstream and incompatible with newer Pandoc. Please use 'apostrophe' or 'folio' instead"; # Added 2025-02-20 thefuck = throw "'thefuck' has been removed due to lack of maintenance upstream and incompatible with python 3.12+. Consider using 'pay-respects' instead"; # Added 2025-05-30