12 buildPythonPackage rec {
13 pname = "py-sr25519-bindings";
14 version = "unstable-2023-03-15";
17 disabled = pythonOlder "3.6";
19 src = fetchFromGitHub {
21 repo = "py-sr25519-bindings";
22 rev = "9127501235bf291d7f14f00ec373d0a5000a32cb";
23 hash = "sha256-mxNmiFvMbV9WQhGNIQXxTkOcJHYs0vyOPM6Nd5367RE=";
26 cargoDeps = rustPlatform.fetchCargoTarball {
28 name = "${pname}-${version}";
29 hash = "sha256-7fDlEYWOiRVpG3q0n3ZSS1dfNCOh0/4pX/PbcDBvoMI=";
32 nativeBuildInputs = with rustPlatform; [
37 buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
48 pythonImportsCheck = [
53 description = "Python bindings for sr25519 library";
54 homepage = "https://github.com/polkascan/py-sr25519-bindings";
55 license = licenses.asl20;
56 maintainers = with maintainers; [ onny stargate01 ];