mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
pythonPackages.sqlite-utils: depend on sqlite-fts4
Fixed b8c648802c
where `sqlite-utils`
was updated without adding the new `sqlite-fts4` dependency.
Disabled two tests that are failing for sqlite v3.34.0, until they are
fixed upstream.
This commit is contained in:
parent
d6d2281f35
commit
e3e89c8fe9
@ -1,19 +1,22 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, pythonOlder
|
||||
, click
|
||||
, click-default-group
|
||||
, sqlite-fts4
|
||||
, tabulate
|
||||
, pytestCheckHook
|
||||
, pytestrunner
|
||||
, black
|
||||
, hypothesis
|
||||
, sqlite
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sqlite-utils";
|
||||
version = "3.0";
|
||||
disabled = !isPy3k;
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
@ -23,6 +26,7 @@ buildPythonPackage rec {
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
click-default-group
|
||||
sqlite-fts4
|
||||
tabulate
|
||||
];
|
||||
|
||||
@ -30,13 +34,19 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
pytestrunner
|
||||
black
|
||||
hypothesis
|
||||
];
|
||||
|
||||
# disabled until upstream updates tests
|
||||
disabledTests = lib.optionals (lib.versionAtLeast sqlite.version "3.34.0") [
|
||||
"test_optimize"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python CLI utility and library for manipulating SQLite databases";
|
||||
homepage = "https://github.com/simonw/sqlite-utils";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.meatcar ];
|
||||
maintainers = with maintainers; [ meatcar ];
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user