-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythonPackages.image-match: init at 1.1.2
- Loading branch information
1 parent
6ed3ea6
commit 5fba38d
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ stdenv, buildPythonPackage, fetchFromGitHub, pytestrunner, dask, scikitimage, six }: | ||
This comment has been minimized.
Sorry, something went wrong. |
||
|
||
buildPythonPackage { | ||
pname = "image-match"; | ||
version = "1.1.2"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "ascribe"; | ||
repo = "image-match"; | ||
rev = "1c5f3170555540bdf43ff8b8189c4e8c13a8b950"; | ||
sha256 = "0vlmpidmhkpgdzw2k03x5layhijcrjpmyfd93yv2ls77ihz00ix5"; | ||
}; | ||
|
||
buildInputs = [ pytestrunner ]; | ||
|
||
propagatedBuildInputs = [ | ||
scikitimage | ||
]; | ||
|
||
# remove elasticsearch requirement due to version incompatibility | ||
postPatch = '' | ||
substituteInPlace setup.py --replace "'elasticsearch>=5.0.0,<6.0.0'," "" | ||
''; | ||
|
||
# tests cannot work without elasticsearch | ||
doCheck = false; | ||
|
||
meta = with stdenv.lib; { | ||
homepage = https://github.com/ascribe/image-match; | ||
description = "Quickly search over billions of images"; | ||
license = licenses.asl20; | ||
maintainers = with maintainers; [ cmcdragonkai ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@FRidh The
dask
is no longer required in this expression.