2018-06-22 10:16:38 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, setuptools_scm, requests, mock }:
|
2018-06-22 10:15:32 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pysolr";
|
2018-11-04 10:35:13 +00:00
|
|
|
version = "3.8.1";
|
2018-06-22 10:15:32 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 10:35:13 +00:00
|
|
|
sha256 = "88ecb176627db6bcf9aeb94a3570bfa0363cb68be4b2a6d89a957d4a87c0a81b";
|
2018-06-22 10:15:32 +01:00
|
|
|
};
|
|
|
|
|
2018-06-22 10:16:38 +01:00
|
|
|
nativeBuildInputs = [ setuptools_scm ];
|
|
|
|
|
2018-06-22 10:15:32 +01:00
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
|
2018-06-22 10:16:38 +01:00
|
|
|
checkInputs = [ mock ];
|
|
|
|
|
|
|
|
doCheck = false; # requires network access
|
2018-06-22 10:15:32 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Lightweight Python wrapper for Apache Solr";
|
2019-04-22 09:14:28 +01:00
|
|
|
homepage = "https://github.com/toastdriven/pysolr/";
|
2018-06-22 10:15:32 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|