Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 47 lines 833 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5, click 6, click-default-group 7, sqlite-fts4 8, tabulate 9, pytestCheckHook 10, pytestrunner 11, black 12, hypothesis 13, sqlite 14}: 15 16buildPythonPackage rec { 17 pname = "sqlite-utils"; 18 version = "3.6"; 19 disabled = pythonOlder "3.6"; 20 21 src = fetchPypi { 22 inherit pname version; 23 sha256 = "sha256-WCqbz0tssy7i76Sg2PeexjDollypPGnOqqfUJOHAFWA="; 24 }; 25 26 propagatedBuildInputs = [ 27 click 28 click-default-group 29 sqlite-fts4 30 tabulate 31 ]; 32 33 checkInputs = [ 34 pytestCheckHook 35 pytestrunner 36 black 37 hypothesis 38 ]; 39 40 meta = with lib; { 41 description = "Python CLI utility and library for manipulating SQLite databases"; 42 homepage = "https://github.com/simonw/sqlite-utils"; 43 license = licenses.asl20; 44 maintainers = with maintainers; [ meatcar ]; 45 }; 46 47}