depot/third_party/nixpkgs/pkgs/development/python-modules/sqlite-utils/default.nix
Default email eefb417d14 Project import generated by Copybara.
GitOrigin-RevId: a52e974cff8fb80c427e0d55c01b3b8c770ccec4
2020-11-06 01:33:48 +01:00

42 lines
747 B
Nix

{ 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 ];
};
}