cargonode: init at 0.1.2 (#361643)

This commit is contained in:
Aleksana
2024-12-09 10:37:10 +08:00
committed by GitHub
2 changed files with 52 additions and 0 deletions
+6
View File
@@ -24307,6 +24307,12 @@
githubId = 145775305;
name = "Sergei Zimmerman";
};
xosnrdev = {
email = "hello@xosnrdev.tech";
github = "xosnrdev";
githubId = 106241330;
name = "Success Kingsley";
};
xrelkd = {
github = "xrelkd";
githubId = 46590321;
+46
View File
@@ -0,0 +1,46 @@
{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
bzip2,
}:
rustPlatform.buildRustPackage rec {
pname = "cargonode";
version = "0.1.2";
src = fetchFromGitHub {
owner = "xosnrdev";
repo = "cargonode";
rev = "refs/tags/${version}";
hash = "sha256-xzBLuQRyKmd9k0sbBFV5amtFWwKqXR0CEsRv8SHiJcQ=";
};
cargoHash = "sha256-v+Fs2VJrpnIOk9nPRanYYChlR7WOfkXF1kbYOKjOUYc=";
checkFlags = [
# Skip test that requires network access
"--skip test_download_file"
"--skip test_extract_zip"
"--skip test_invalid_download_url"
"--skip test_create_package"
"--skip test_init_package"
];
nativeBuildInputs = [
pkg-config
];
meta = {
description = "Unified tooling for Node.js";
mainProgram = "cargonode";
homepage = "https://github.com/xosnrdev/cargonode";
changelog = "https://github.com/xosnrdev/cargonode/blob/${version}/CHANGELOG.md";
license = with lib.licenses; [
asl20 # or
mit
];
maintainers = with lib.maintainers; [ xosnrdev ];
};
}