Loading pkgs/by-name/re/redlib/package.nix +20 −12 Original line number Diff line number Diff line { lib , stdenv , cacert , nixosTests , rustPlatform , fetchFromGitHub , darwin { lib, stdenv, cacert, nixosTests, rustPlatform, fetchFromGitHub, darwin, }: rustPlatform.buildRustPackage rec { pname = "redlib"; version = "0.35.1"; version = "0.35.1-unstable-2024-09-22"; src = fetchFromGitHub { owner = "redlib-org"; repo = "redlib"; rev = "refs/tags/v${version}"; hash = "sha256-W1v7iOE60/6UyZSHQW+L+wHCoKnKUNb3kpm4LVLPZ6c="; rev = "d5f137ce47de39e2c8c4ed09d13ba1f809bee560"; hash = "sha256-12XKeBCKciKummI43oTbKGkkY0mghA82ir2C3LhnwSs="; }; cargoHash = "sha256-3NQWiu/nTtHrivYL1pgxqQxEuIW0xfjxwK0ZEa2y1Kk="; cargoHash = "sha256-XSmeJAK18J9WxrG5orFbAB9hWVLQQ50oB223oHT3OOk="; buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security Loading @@ -25,18 +26,25 @@ rustPlatform.buildRustPackage rec { checkFlags = [ # All these test try to connect to Reddit. # utils.rs "--skip=test_fetching_subreddit_quarantined" "--skip=test_fetching_nsfw_subreddit" "--skip=test_fetching_ws" # client.rs "--skip=test_obfuscated_share_link" "--skip=test_share_link_strip_json" "--skip=test_localization_popular" # subreddit.rs "--skip=test_fetching_subreddit" "--skip=test_gated_and_quarantined" # user.rs "--skip=test_fetching_user" # These try to connect to the oauth client # oauth.rs "--skip=test_oauth_client" "--skip=test_oauth_client_refresh" "--skip=test_oauth_token_exists" Loading Loading
pkgs/by-name/re/redlib/package.nix +20 −12 Original line number Diff line number Diff line { lib , stdenv , cacert , nixosTests , rustPlatform , fetchFromGitHub , darwin { lib, stdenv, cacert, nixosTests, rustPlatform, fetchFromGitHub, darwin, }: rustPlatform.buildRustPackage rec { pname = "redlib"; version = "0.35.1"; version = "0.35.1-unstable-2024-09-22"; src = fetchFromGitHub { owner = "redlib-org"; repo = "redlib"; rev = "refs/tags/v${version}"; hash = "sha256-W1v7iOE60/6UyZSHQW+L+wHCoKnKUNb3kpm4LVLPZ6c="; rev = "d5f137ce47de39e2c8c4ed09d13ba1f809bee560"; hash = "sha256-12XKeBCKciKummI43oTbKGkkY0mghA82ir2C3LhnwSs="; }; cargoHash = "sha256-3NQWiu/nTtHrivYL1pgxqQxEuIW0xfjxwK0ZEa2y1Kk="; cargoHash = "sha256-XSmeJAK18J9WxrG5orFbAB9hWVLQQ50oB223oHT3OOk="; buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security Loading @@ -25,18 +26,25 @@ rustPlatform.buildRustPackage rec { checkFlags = [ # All these test try to connect to Reddit. # utils.rs "--skip=test_fetching_subreddit_quarantined" "--skip=test_fetching_nsfw_subreddit" "--skip=test_fetching_ws" # client.rs "--skip=test_obfuscated_share_link" "--skip=test_share_link_strip_json" "--skip=test_localization_popular" # subreddit.rs "--skip=test_fetching_subreddit" "--skip=test_gated_and_quarantined" # user.rs "--skip=test_fetching_user" # These try to connect to the oauth client # oauth.rs "--skip=test_oauth_client" "--skip=test_oauth_client_refresh" "--skip=test_oauth_token_exists" Loading