Loading pkgs/development/python-modules/libipld/default.nix 0 → 100644 +68 −0 Original line number Diff line number Diff line { lib, fetchPypi, buildPythonPackage, pythonOlder, rustPlatform, nix-update-script, # build-system maturin, # nativeCheckInputs pytestCheckHook, pytest-benchmark, pytest-codspeed, pytest-xdist, }: buildPythonPackage rec { pname = "libipld"; version = "3.0.1"; format = "pyproject"; disabled = pythonOlder "3.8"; # use pypi, GitHub does not include Cargo.lock src = fetchPypi { inherit pname version; hash = "sha256-KXB1LecOX9ysRkaQDN76oNygjbm11ZxAtUltmeO/+mQ="; }; cargoDeps = rustPlatform.fetchCargoTarball { inherit src; hash = "sha256-e/YydaaIJslCWxVVOicU+/wZQUNXB+CiqetCMZbJtjI="; }; build-system = [ maturin ]; nativeBuildInputs = with rustPlatform; [ cargoSetupHook maturinBuildHook ]; nativeCheckInputs = [ pytestCheckHook pytest-benchmark pytest-codspeed pytest-xdist ]; disabledTests = [ # touches network "test_decode_car" ]; pythonImportsCheck = [ "libipld" ]; passthru.updateScript = nix-update-script { }; meta = { description = "Fast Python library to work with IPLD: DAG-CBOR, CID, CAR, multibase"; homepage = "https://github.com/MarshalX/python-libipld"; changelog = "https://github.com/MarshalX/python-libipld/blob/v${version}/CHANGES.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ vji ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -7391,6 +7391,8 @@ self: super: with self; { inherit python; })).python; libipld = callPackage ../development/python-modules/libipld { }; libkeepass = callPackage ../development/python-modules/libkeepass { }; libknot = callPackage ../development/python-modules/libknot { }; Loading Loading
pkgs/development/python-modules/libipld/default.nix 0 → 100644 +68 −0 Original line number Diff line number Diff line { lib, fetchPypi, buildPythonPackage, pythonOlder, rustPlatform, nix-update-script, # build-system maturin, # nativeCheckInputs pytestCheckHook, pytest-benchmark, pytest-codspeed, pytest-xdist, }: buildPythonPackage rec { pname = "libipld"; version = "3.0.1"; format = "pyproject"; disabled = pythonOlder "3.8"; # use pypi, GitHub does not include Cargo.lock src = fetchPypi { inherit pname version; hash = "sha256-KXB1LecOX9ysRkaQDN76oNygjbm11ZxAtUltmeO/+mQ="; }; cargoDeps = rustPlatform.fetchCargoTarball { inherit src; hash = "sha256-e/YydaaIJslCWxVVOicU+/wZQUNXB+CiqetCMZbJtjI="; }; build-system = [ maturin ]; nativeBuildInputs = with rustPlatform; [ cargoSetupHook maturinBuildHook ]; nativeCheckInputs = [ pytestCheckHook pytest-benchmark pytest-codspeed pytest-xdist ]; disabledTests = [ # touches network "test_decode_car" ]; pythonImportsCheck = [ "libipld" ]; passthru.updateScript = nix-update-script { }; meta = { description = "Fast Python library to work with IPLD: DAG-CBOR, CID, CAR, multibase"; homepage = "https://github.com/MarshalX/python-libipld"; changelog = "https://github.com/MarshalX/python-libipld/blob/v${version}/CHANGES.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ vji ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -7391,6 +7391,8 @@ self: super: with self; { inherit python; })).python; libipld = callPackage ../development/python-modules/libipld { }; libkeepass = callPackage ../development/python-modules/libkeepass { }; libknot = callPackage ../development/python-modules/libknot { }; Loading