Merge pull request #274846 from GaetanLepage/rye

rye: 0.15.2 -> 0.16.0
This commit is contained in:
Someone 2023-12-19 11:02:22 +00:00 committed by GitHub
commit 9d50059595
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 7 deletions

View File

@ -463,9 +463,9 @@ dependencies = [
[[package]] [[package]]
name = "curl-sys" name = "curl-sys"
version = "0.4.61+curl-8.0.1" version = "0.4.67+curl-8.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "14d05c10f541ae6f3bc5b3d923c20001f47db7d5f0b2bc6ad16490133842db79" checksum = "3cc35d066510b197a0f72de863736641539957628c8a42e70e27c66849e77c34"
dependencies = [ dependencies = [
"cc", "cc",
"libc", "libc",
@ -473,7 +473,7 @@ dependencies = [
"openssl-sys", "openssl-sys",
"pkg-config", "pkg-config",
"vcpkg", "vcpkg",
"winapi", "windows-sys 0.48.0",
] ]
[[package]] [[package]]
@ -1772,7 +1772,7 @@ dependencies = [
[[package]] [[package]]
name = "rye" name = "rye"
version = "0.15.2" version = "0.16.0"
dependencies = [ dependencies = [
"age", "age",
"anyhow", "anyhow",

View File

@ -5,19 +5,20 @@
, pkg-config , pkg-config
, openssl , openssl
, stdenv , stdenv
, CoreServices
, Libsystem , Libsystem
, SystemConfiguration , SystemConfiguration
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "rye"; pname = "rye";
version = "0.15.2"; version = "0.16.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mitsuhiko"; owner = "mitsuhiko";
repo = "rye"; repo = "rye";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-q7/obBE16aKb8BHf5ycXSgXTMLWAFwxSnJ3qV35TdL8="; hash = "sha256-AIM61JEgWMDjeZVnOVamBiCXTT5LLEktwQpRtnflgcw=";
}; };
cargoLock = { cargoLock = {
@ -38,6 +39,7 @@ rustPlatform.buildRustPackage rec {
openssl openssl
] ]
++ lib.optionals stdenv.isDarwin [ ++ lib.optionals stdenv.isDarwin [
CoreServices
Libsystem Libsystem
SystemConfiguration SystemConfiguration
]; ];
@ -56,7 +58,9 @@ rustPlatform.buildRustPackage rec {
meta = with lib; { meta = with lib; {
description = "A tool to easily manage python dependencies and environments"; description = "A tool to easily manage python dependencies and environments";
homepage = "https://github.com/mitsuhiko/rye"; homepage = "https://github.com/mitsuhiko/rye";
changelog = "https://github.com/mitsuhiko/rye/releases/tag/${version}";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ GaetanLepage ]; maintainers = with maintainers; [ GaetanLepage ];
mainProgram = "rye";
}; };
} }

View File

@ -19969,7 +19969,7 @@ with pkgs;
rye = darwin.apple_sdk_11_0.callPackage ../development/tools/rye { rye = darwin.apple_sdk_11_0.callPackage ../development/tools/rye {
inherit (darwin.apple_sdk_11_0) Libsystem; inherit (darwin.apple_sdk_11_0) Libsystem;
inherit (darwin.apple_sdk_11_0.frameworks) SystemConfiguration; inherit (darwin.apple_sdk_11_0.frameworks) CoreServices SystemConfiguration;
}; };
samurai = callPackage ../development/tools/build-managers/samurai { }; samurai = callPackage ../development/tools/build-managers/samurai { };