python.pkgs.pysolr: move expression

This commit is contained in:
Robert Schütz
2018-06-22 11:15:32 +02:00
committed by Frederik Rietdijk
parent 95ce1c4e12
commit 6896911117
2 changed files with 23 additions and 21 deletions

View File

@@ -0,0 +1,22 @@
{ lib, buildPythonPackage, fetchPypi, requests }:
buildPythonPackage rec {
pname = "pysolr";
version = "3.3.3";
src = fetchPypi {
inherit pname version;
sha256 = "1wapg9n7myn7c82r3nzs2gisfzx52nip8w2mrfy0yih1zn02mnd6";
};
propagatedBuildInputs = [ requests ];
doCheck = false; # no tests in PyPI tarball
meta = with lib; {
description = "Lightweight Python wrapper for Apache Solr";
homepage = "http://github.com/toastdriven/pysolr/";
license = licenses.bsd3;
};
}