mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
27 lines
598 B
Nix
27 lines
598 B
Nix
{ lib, buildPythonPackage, fetchPypi, setuptools_scm, requests, mock }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pysolr";
|
|
version = "3.9.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1rj5jmscvxjwcmlfi6hmkj44l4x6n3ln5p7d8d18j566hzmmzw3f";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools_scm ];
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
checkInputs = [ mock ];
|
|
|
|
doCheck = false; # requires network access
|
|
|
|
meta = with lib; {
|
|
description = "Lightweight Python wrapper for Apache Solr";
|
|
homepage = "https://github.com/toastdriven/pysolr/";
|
|
license = licenses.bsd3;
|
|
};
|
|
}
|
|
|