python3Packages.clvm-tools-rs: init at 0.1.19
This commit is contained in:
parent
b87d7aa949
commit
dd02fa02ad
2 changed files with 42 additions and 0 deletions
40
pkgs/development/python-modules/clvm-tools-rs/default.nix
Normal file
40
pkgs/development/python-modules/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.19";
|
||||
disabled = pythonOlder "3.7";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Chia-Network";
|
||||
repo = "clvm_tools_rs";
|
||||
rev = version;
|
||||
sha256 = "sha256-LQbFBZBLUAjyqIAWIn+N8tUrBMskRoKvMMg5gfTyVU8=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
inherit src;
|
||||
name = "${pname}-${version}";
|
||||
sha256 = "sha256-LcDWpMM+PUElsXO82H6QVOp338+NduC/j3pXQKSni3I=";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
|
@ -1814,6 +1814,8 @@ in {
|
|||
|
||||
clvm-tools = callPackage ../development/python-modules/clvm-tools { };
|
||||
|
||||
clvm-tools-rs = callPackage ../development/python-modules/clvm-tools-rs { };
|
||||
|
||||
cma = callPackage ../development/python-modules/cma { };
|
||||
|
||||
cmarkgfm = callPackage ../development/python-modules/cmarkgfm { };
|
||||
|
|
Loading…
Reference in a new issue