mirror of
https://github.com/ilyakooo0/chia.nix.git
synced 2024-10-05 18:47:16 +03:00
bump clvm-tools-rs
This commit is contained in:
parent
64d54abb44
commit
d4d4b84a1a
@ -22,6 +22,7 @@ pkgs.extend (final: prev:
|
||||
boto3 = final'.callPackage python/boto3 { };
|
||||
botocore = final'.callPackage python/botocore { };
|
||||
chia-rs = final'.callPackage python/chia-rs { };
|
||||
clvm-tools-rs = final'.callPackage python/clvm-tools-rs { };
|
||||
chiavdf = final'.callPackage python/chiavdf { };
|
||||
cryptography = final'.callPackage python/cryptography {
|
||||
Security = if final.stdenv.isDarwin then final.Security else null;
|
||||
|
40
packages/python/clvm-tools-rs/default.nix
Normal file
40
packages/python/clvm-tools-rs/default.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildPythonPackage
|
||||
, rustPlatform
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "clvm-tools-rs";
|
||||
version = "0.1.34";
|
||||
disabled = pythonOlder "3.7";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Chia-Network";
|
||||
repo = "clvm_tools_rs";
|
||||
rev = version;
|
||||
hash = "sha256-0qxlA973EjKKUOhTbNMd7ig4R+4wQUS0XZiPAMQBFxM=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
inherit src;
|
||||
name = "${pname}-${version}";
|
||||
hash = "sha256-XpC5cbp9+U17PSBBbhWsq5Fl24xhIdrwmai48UP3ihE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with rustPlatform; [
|
||||
cargoSetupHook
|
||||
maturinBuildHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "clvm_tools_rs" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://chialisp.com/";
|
||||
description = "Rust port of clvm_tools";
|
||||
license = licenses.asl20;
|
||||
maintainers = teams.chia.members;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user