pythonPackages.luqum: init at 0.13.0
This commit is contained in:
parent
e1e97d0a46
commit
4659f76177
2 changed files with 43 additions and 0 deletions
41
pkgs/development/python-modules/luqum/default.nix
Normal file
41
pkgs/development/python-modules/luqum/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
# dependencies
|
||||
, ply
|
||||
# test dependencies
|
||||
, elasticsearch-dsl
|
||||
}:
|
||||
let
|
||||
pname = "luqum";
|
||||
version = "0.13.0";
|
||||
in
|
||||
buildPythonPackage {
|
||||
inherit pname version;
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jurismarches";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-lcJCLl0crCl3Y5UlWBMZJR2UtVP96gaJNRxwY9Xn7TM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
ply
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
elasticsearch-dsl
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A lucene query parser generating ElasticSearch queries and more !";
|
||||
homepage = "https://github.com/jurismarches/luqum";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ happysalada ];
|
||||
};
|
||||
}
|
|
@ -5951,6 +5951,8 @@ self: super: with self; {
|
|||
|
||||
luhn = callPackage ../development/python-modules/luhn { };
|
||||
|
||||
luqum = callPackage ../development/python-modules/luqum { };
|
||||
|
||||
luxor = callPackage ../development/python-modules/luxor { };
|
||||
|
||||
luxtronik = callPackage ../development/python-modules/luxtronik { };
|
||||
|
|
Loading…
Reference in a new issue