Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pysolr / default.nix
blob1e2e3d5dbf6c1c6034adff2e07ead977df2d45a2
1 { lib, buildPythonPackage, fetchPypi, setuptools-scm, requests, mock }:
3 buildPythonPackage rec {
4   pname = "pysolr";
5   version = "3.9.0";
7   src = fetchPypi {
8     inherit pname version;
9     sha256 = "1rj5jmscvxjwcmlfi6hmkj44l4x6n3ln5p7d8d18j566hzmmzw3f";
10   };
12   nativeBuildInputs = [ setuptools-scm ];
14   propagatedBuildInputs = [ requests ];
16   nativeCheckInputs = [ mock ];
18   doCheck = false; # requires network access
20   meta = with lib; {
21     description = "Lightweight Python wrapper for Apache Solr";
22     homepage = "https://github.com/toastdriven/pysolr/";
23     license = licenses.bsd3;
24   };