Merge pull request #251752 from tjni/ipfshttpclient
python310Packages.ipfshttpclient: switch to pyproject build and mark darwin unbroken
This commit is contained in:
commit
f1f05f08dc
@ -1,7 +1,7 @@
|
|||||||
{ stdenv
|
{ lib
|
||||||
, lib
|
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, flit-core
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, python
|
, python
|
||||||
, py-multiaddr
|
, py-multiaddr
|
||||||
@ -22,7 +22,7 @@
|
|||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "ipfshttpclient";
|
pname = "ipfshttpclient";
|
||||||
version = "0.8.0a2";
|
version = "0.8.0a2";
|
||||||
format = "flit";
|
format = "pyproject";
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
@ -32,6 +32,10 @@ buildPythonPackage rec {
|
|||||||
hash = "sha256-OmC67pN2BbuGwM43xNDKlsLhwVeUbpvfOazyIDvoMEA=";
|
hash = "sha256-OmC67pN2BbuGwM43xNDKlsLhwVeUbpvfOazyIDvoMEA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
flit-core
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
py-multiaddr
|
py-multiaddr
|
||||||
requests
|
requests
|
||||||
@ -85,7 +89,6 @@ buildPythonPackage rec {
|
|||||||
pythonImportsCheck = [ "ipfshttpclient" ];
|
pythonImportsCheck = [ "ipfshttpclient" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
broken = stdenv.isDarwin;
|
|
||||||
description = "A python client library for the IPFS API";
|
description = "A python client library for the IPFS API";
|
||||||
homepage = "https://github.com/ipfs-shipyard/py-ipfs-http-client";
|
homepage = "https://github.com/ipfs-shipyard/py-ipfs-http-client";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
Loading…
Reference in New Issue
Block a user