python310Packages.ipfshttpclient: switch to pyproject build and mark darwin unbroken

This commit is contained in:
Theodore Ni 2023-08-27 02:54:59 -07:00
parent cefe605488
commit ba986f8b34
No known key found for this signature in database
GPG Key ID: 48B67583BDDD4474

View File

@ -1,7 +1,7 @@
{ stdenv
, lib
{ lib
, buildPythonPackage
, fetchFromGitHub
, flit-core
, pythonOlder
, python
, py-multiaddr
@ -22,7 +22,7 @@
buildPythonPackage rec {
pname = "ipfshttpclient";
version = "0.8.0a2";
format = "flit";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
@ -32,6 +32,10 @@ buildPythonPackage rec {
hash = "sha256-OmC67pN2BbuGwM43xNDKlsLhwVeUbpvfOazyIDvoMEA=";
};
nativeBuildInputs = [
flit-core
];
propagatedBuildInputs = [
py-multiaddr
requests
@ -85,7 +89,6 @@ buildPythonPackage rec {
pythonImportsCheck = [ "ipfshttpclient" ];
meta = with lib; {
broken = stdenv.isDarwin;
description = "A python client library for the IPFS API";
homepage = "https://github.com/ipfs-shipyard/py-ipfs-http-client";
license = licenses.mit;