mirror of
https://github.com/denismhz/flake.git
synced 2025-11-09 16:16:23 +01:00
?
This commit is contained in:
parent
a227d57d28
commit
7fc90fd614
|
|
@ -1,42 +1,15 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, pkg-config
|
||||
, fetchPypi
|
||||
, stdenv
|
||||
, fetchzip
|
||||
, setuptools
|
||||
, writeText
|
||||
, isPy27
|
||||
, pytestCheckHook
|
||||
, pytest-mpl
|
||||
, numpy
|
||||
, scipy
|
||||
, scikit-learn
|
||||
, pandas
|
||||
, transformers
|
||||
, opencv4
|
||||
, lightgbm
|
||||
, catboost
|
||||
, pyspark
|
||||
, sentencepiece
|
||||
, tqdm
|
||||
, slicer
|
||||
, numba
|
||||
, matplotlib
|
||||
, nose
|
||||
, lime
|
||||
, cloudpickle
|
||||
, ipython
|
||||
, packaging
|
||||
, pillow
|
||||
, requests
|
||||
, regex
|
||||
, importlib-metadata
|
||||
, huggingface-hub
|
||||
, symlinkJoin
|
||||
}:
|
||||
|
||||
let
|
||||
{
|
||||
buildPythonPackage,
|
||||
pkg-config,
|
||||
stdenv,
|
||||
fetchzip,
|
||||
setuptools,
|
||||
isPy27,
|
||||
numpy,
|
||||
opencv4,
|
||||
pillow,
|
||||
symlinkJoin,
|
||||
}: let
|
||||
# https://github.com/invoke-ai/InvokeAI/blob/34f8117241dc961e78929bda30ce3b4f19e707cf/docs/installation/060_INSTALL_PATCHMATCH.md
|
||||
opencv4Fixed = symlinkJoin {
|
||||
name = "opencv4Fixed";
|
||||
|
|
@ -62,7 +35,8 @@ let
|
|||
cp libpatchmatch.so $out/lib/
|
||||
'';
|
||||
};
|
||||
in buildPythonPackage {
|
||||
in
|
||||
buildPythonPackage {
|
||||
pname = "pypatchmatch";
|
||||
version = "129863937a8ab37f6bbcec327c994c0f932abdbc";
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue