bump clvm-tools-rs

This commit is contained in:
Louis Bettens 2023-08-05 13:50:18 +02:00
parent 64d54abb44
commit d4d4b84a1a
No known key found for this signature in database
2 changed files with 41 additions and 0 deletions

View File

@ -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;

View 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;
};
}