ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / clvm-tools-rs / default.nix
blob3d88084169a1fdbef242451105dcd0641017976d
1 { lib
2 , fetchFromGitHub
3 , buildPythonPackage
4 , rustPlatform
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "clvm-tools-rs";
10   version = "0.1.19";
11   disabled = pythonOlder "3.7";
12   format = "pyproject";
14   src = fetchFromGitHub {
15     owner = "Chia-Network";
16     repo = "clvm_tools_rs";
17     rev = version;
18     sha256 = "sha256-LQbFBZBLUAjyqIAWIn+N8tUrBMskRoKvMMg5gfTyVU8=";
19   };
21   cargoDeps = rustPlatform.fetchCargoTarball {
22     inherit src;
23     name = "${pname}-${version}";
24     sha256 = "sha256-LcDWpMM+PUElsXO82H6QVOp338+NduC/j3pXQKSni3I=";
25   };
27   nativeBuildInputs = with rustPlatform; [
28     cargoSetupHook
29     maturinBuildHook
30   ];
32   pythonImportsCheck = [ "clvm_tools_rs" ];
34   meta = with lib; {
35     homepage = "https://chialisp.com/";
36     description = "Rust port of clvm_tools";
37     license = licenses.asl20;
38     maintainers = teams.chia.members;
39   };