Merge pull request #99359 from meatcar/sqlite-utils

pythonPackages.sqlite-utils: init at 2.22
This commit is contained in:
Sarah Brofeldt 2020-11-06 19:00:55 +01:00 committed by GitHub
commit e3bbadafe8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 52 additions and 0 deletions

View file

@ -5532,6 +5532,12 @@
fingerprint = "D709 03C8 0BE9 ACDC 14F0 3BFB 77BF E531 397E DE94";
}];
};
meatcar = {
email = "nixpkgs@denys.me";
github = "meatcar";
githubId = 191622;
name = "Denys Pavlov";
};
meditans = {
email = "meditans@gmail.com";
github = "meditans";

View file

@ -0,0 +1,42 @@
{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
, click
, click-default-group
, tabulate
, pytestCheckHook
, pytestrunner
, black
}:
buildPythonPackage rec {
pname = "sqlite-utils";
version = "2.22";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "0g8zzp4qw6miijirykjcd78ib027k7dmg6lb9m4xysvah5jh8vfv";
};
propagatedBuildInputs = [
click
click-default-group
tabulate
];
checkInputs = [
pytestCheckHook
pytestrunner
black
];
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 ];
};
}

View file

@ -11826,6 +11826,8 @@ in
sqlitebrowser = libsForQt5.callPackage ../development/tools/database/sqlitebrowser { };
sqlite-utils = with python3Packages; toPythonApplication sqlite-utils;
sqlite-web = callPackage ../development/tools/database/sqlite-web { };
sqlmap = with python3Packages; toPythonApplication sqlmap;

View file

@ -6832,6 +6832,8 @@ in {
sqlitedict = callPackage ../development/python-modules/sqlitedict { };
sqlite-utils = callPackage ../development/python-modules/sqlite-utils { };
sqlmap = callPackage ../development/python-modules/sqlmap { };
sqlobject = callPackage ../development/python-modules/sqlobject { };