Gaetan Lepage 2023-12-17 00:32:52 +01:00
parent 3d49fd5189
commit 7a8c37d77e
3 changed files with 11 additions and 7 deletions

View file

@ -463,9 +463,9 @@ dependencies = [
[[package]]
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"
checksum = "14d05c10f541ae6f3bc5b3d923c20001f47db7d5f0b2bc6ad16490133842db79"
checksum = "3cc35d066510b197a0f72de863736641539957628c8a42e70e27c66849e77c34"
dependencies = [
"cc",
"libc",
@ -473,7 +473,7 @@ dependencies = [
"openssl-sys",
"pkg-config",
"vcpkg",
"winapi",
"windows-sys 0.48.0",
]
[[package]]
@ -1772,7 +1772,7 @@ dependencies = [
[[package]]
name = "rye"
version = "0.15.2"
version = "0.16.0"
dependencies = [
"age",
"anyhow",

View file

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

View file

@ -19966,7 +19966,7 @@ with pkgs;
rye = darwin.apple_sdk_11_0.callPackage ../development/tools/rye {
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 { };