mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 02:05:51 +03:00
python310Packages.ipfshttpclient: switch to pyproject build and mark darwin unbroken
This commit is contained in:
parent
cefe605488
commit
ba986f8b34
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user