Unverified Commit c59f5517 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #227834 from GaetanLepage/rye

rye: init at unstable-2023-04-23
parents b03ac42b 66504778
Loading
Loading
Loading
Loading
+36 −0
Original line number Diff line number Diff line
{ lib
, fetchFromGitHub
, rustPlatform
, openssl
, pkg-config
, stdenv
, SystemConfiguration
}:

rustPlatform.buildRustPackage rec {
  pname = "rye";
  version = "unstable-2023-04-23";

  src = fetchFromGitHub {
    owner = "mitsuhiko";
    repo = "rye";
    rev = "b3fe43a4e462d10784258cad03c19c9738367346";
    hash = "sha256-q9/VUWyrP/NsuLYY1+/5teYvDJGq646WbMXptnUUUyw=";
  };

  cargoHash = "sha256-eyJ6gXFVnSC1aEt5YLl5rFoa3+M73smu5wJdAN15HQM=";

  nativeBuildInputs = [ pkg-config ];

  buildInputs = [
    openssl
  ]
  ++ lib.optional stdenv.isDarwin SystemConfiguration;

  meta = with lib; {
    description = "A tool to easily manage python dependencies and environments";
    homepage = "https://github.com/mitsuhiko/rye";
    license = licenses.mit;
    maintainers = with maintainers; [ GaetanLepage ];
  };
}
+4 −0
Original line number Diff line number Diff line
@@ -18861,6 +18861,10 @@ with pkgs;
  rufo = callPackage ../development/tools/rufo { };
  rye = callPackage ../development/tools/rye {
    inherit (darwin.apple_sdk.frameworks) SystemConfiguration;
  };
  samurai = callPackage ../development/tools/build-managers/samurai { };
  muon = callPackage ../development/tools/build-managers/muon { };