rye: init at unstable-2023-04-23
This commit is contained in:
parent
5d91a89644
commit
66504778ce
2 changed files with 40 additions and 0 deletions
36
pkgs/development/tools/rye/default.nix
Normal file
36
pkgs/development/tools/rye/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ 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 ];
|
||||
};
|
||||
}
|
|
@ -18846,6 +18846,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 { };
|
||||
|
|
Loading…
Reference in a new issue