1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/pysolr/default.nix
Daniel Schaefer bac4d95aa2 treewide: Change URLs to HTTPS
Lots of URLs were HTTP redirect to HTTPS. Changed those and checked them
if there's actual content. Inspired by
https://github.com/NixOS/nixpkgs/issues/60004
2019-04-22 10:19:54 +02:00

27 lines
610 B
Nix

{ lib, buildPythonPackage, fetchPypi, setuptools_scm, requests, mock }:
buildPythonPackage rec {
pname = "pysolr";
version = "3.8.1";
src = fetchPypi {
inherit pname version;
sha256 = "88ecb176627db6bcf9aeb94a3570bfa0363cb68be4b2a6d89a957d4a87c0a81b";
};
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;
};
}