python.pkgs.pysolr: move expression
This commit is contained in:
parent
95ce1c4e12
commit
6896911117
22
pkgs/development/python-modules/pysolr/default.nix
Normal file
22
pkgs/development/python-modules/pysolr/default.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
|
@ -12094,27 +12094,7 @@ in {
|
||||
|
||||
rjsmin = callPackage ../development/python-modules/rjsmin { };
|
||||
|
||||
pysolr = buildPythonPackage rec {
|
||||
name = "pysolr-${version}";
|
||||
version = "3.3.3";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/p/pysolr/pysolr-${version}.tar.gz";
|
||||
sha256 = "1wapg9n7myn7c82r3nzs2gisfzx52nip8w2mrfy0yih1zn02mnd6";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [
|
||||
requests
|
||||
];
|
||||
buildInputs = with self; [
|
||||
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://github.com/toastdriven/pysolr/";
|
||||
};
|
||||
};
|
||||
|
||||
pysolr = callPackage ../development/python-modules/pysolr { };
|
||||
|
||||
django-haystack = callPackage ../development/python-modules/django-haystack { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user