nixpkgs/pkgs/development/python-modules/pysolr/default.nix

27 lines
609 B
Nix
Raw Normal View History

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