Loading maintainers/maintainer-list.nix +6 −0 Original line number Diff line number Diff line Loading @@ -8974,6 +8974,12 @@ githubId = 3287933; name = "Josef Kemetmüller"; }; knightpp = { email = "knightpp@proton.me"; github = "knightpp"; githubId = 28928944; name = "Danylo Kondratiev"; }; knl = { email = "nikola@knezevic.co"; github = "knl"; Loading pkgs/development/tools/espup/default.nix 0 → 100644 +82 −0 Original line number Diff line number Diff line { lib , rustPlatform , fetchFromGitHub , pkg-config , installShellFiles , bzip2 , openssl , xz , zstd , stdenv , darwin , runCommand , espup }: rustPlatform.buildRustPackage rec { pname = "espup"; version = "0.4.1"; src = fetchFromGitHub { owner = "esp-rs"; repo = "espup"; rev = "v${version}"; hash = "sha256-gzM+RT4Rt+LaYk7CwYUTIMci8DDI0y3+7y+N2yKRDOc="; }; cargoHash = "sha256-GYhF6VDBAieZbu4x9EiQVVJkmx0aRYK0xwGGP0nuVGc="; nativeBuildInputs = [ pkg-config installShellFiles ]; buildInputs = [ bzip2 openssl xz zstd ] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.CoreFoundation darwin.apple_sdk.frameworks.Security ]; env = { OPENSSL_NO_VENDOR = true; ZSTD_SYS_USE_PKG_CONFIG = true; }; preCheck = '' export HOME=$(mktemp -d) ''; checkFlags = [ # makes network calls "--skip=toolchain::rust::tests::test_xtensa_rust_parse_version" ]; postInstall = '' installShellCompletion --cmd espup \ --bash <($out/bin/espup completions bash) \ --fish <($out/bin/espup completions fish) \ --zsh <($out/bin/espup completions zsh) ''; passthru.tests = { simple = runCommand "${pname}-test" { } '' if [[ `${espup}/bin/espup --version` != *"${version}"* ]]; then echo "Error: program version does not match package version" exit 1 fi touch $out ''; }; meta = with lib; { description = "Tool for installing and maintaining Espressif Rust ecosystem."; homepage = "https://github.com/esp-rs/espup/"; license = with licenses; [ mit asl20 ]; maintainers = with maintainers; [ knightpp ]; }; } pkgs/top-level/all-packages.nix +2 −1 Original line number Diff line number Diff line Loading @@ -18153,6 +18153,8 @@ with pkgs; doq = callPackage ../development/tools/misc/doq { }; espup = callPackage ../development/tools/espup { }; phpunit = callPackage ../development/tools/misc/phpunit { }; teller = callPackage ../development/tools/teller { }; Loading Loading @@ -41567,5 +41569,4 @@ with pkgs; gitrs = callPackage ../tools/misc/gitrs { }; wttrbar = callPackage ../applications/misc/wttrbar { }; } Loading
maintainers/maintainer-list.nix +6 −0 Original line number Diff line number Diff line Loading @@ -8974,6 +8974,12 @@ githubId = 3287933; name = "Josef Kemetmüller"; }; knightpp = { email = "knightpp@proton.me"; github = "knightpp"; githubId = 28928944; name = "Danylo Kondratiev"; }; knl = { email = "nikola@knezevic.co"; github = "knl"; Loading
pkgs/development/tools/espup/default.nix 0 → 100644 +82 −0 Original line number Diff line number Diff line { lib , rustPlatform , fetchFromGitHub , pkg-config , installShellFiles , bzip2 , openssl , xz , zstd , stdenv , darwin , runCommand , espup }: rustPlatform.buildRustPackage rec { pname = "espup"; version = "0.4.1"; src = fetchFromGitHub { owner = "esp-rs"; repo = "espup"; rev = "v${version}"; hash = "sha256-gzM+RT4Rt+LaYk7CwYUTIMci8DDI0y3+7y+N2yKRDOc="; }; cargoHash = "sha256-GYhF6VDBAieZbu4x9EiQVVJkmx0aRYK0xwGGP0nuVGc="; nativeBuildInputs = [ pkg-config installShellFiles ]; buildInputs = [ bzip2 openssl xz zstd ] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.CoreFoundation darwin.apple_sdk.frameworks.Security ]; env = { OPENSSL_NO_VENDOR = true; ZSTD_SYS_USE_PKG_CONFIG = true; }; preCheck = '' export HOME=$(mktemp -d) ''; checkFlags = [ # makes network calls "--skip=toolchain::rust::tests::test_xtensa_rust_parse_version" ]; postInstall = '' installShellCompletion --cmd espup \ --bash <($out/bin/espup completions bash) \ --fish <($out/bin/espup completions fish) \ --zsh <($out/bin/espup completions zsh) ''; passthru.tests = { simple = runCommand "${pname}-test" { } '' if [[ `${espup}/bin/espup --version` != *"${version}"* ]]; then echo "Error: program version does not match package version" exit 1 fi touch $out ''; }; meta = with lib; { description = "Tool for installing and maintaining Espressif Rust ecosystem."; homepage = "https://github.com/esp-rs/espup/"; license = with licenses; [ mit asl20 ]; maintainers = with maintainers; [ knightpp ]; }; }
pkgs/top-level/all-packages.nix +2 −1 Original line number Diff line number Diff line Loading @@ -18153,6 +18153,8 @@ with pkgs; doq = callPackage ../development/tools/misc/doq { }; espup = callPackage ../development/tools/espup { }; phpunit = callPackage ../development/tools/misc/phpunit { }; teller = callPackage ../development/tools/teller { }; Loading Loading @@ -41567,5 +41569,4 @@ with pkgs; gitrs = callPackage ../tools/misc/gitrs { }; wttrbar = callPackage ../applications/misc/wttrbar { }; }