1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, isPy3k 5, pytestCheckHook 6, pyyaml 7, requests 8, requests-mock 9, sqlite-utils 10}: 11 12buildPythonPackage rec { 13 pname = "github-to-sqlite"; 14 version = "2.8.3"; 15 disabled = !isPy3k; 16 17 src = fetchFromGitHub { 18 owner = "dogsheep"; 19 repo = pname; 20 rev = version; 21 hash = "sha256-4wkwtcChcR7XH421wa3dGdIPhwgeaTFk247zIRX98xo="; 22 }; 23 24 propagatedBuildInputs = [ 25 sqlite-utils 26 pyyaml 27 requests 28 ]; 29 30 nativeCheckInputs = [ 31 pytestCheckHook 32 requests-mock 33 ]; 34 35 disabledTests = [ 36 "test_scrape_dependents" 37 ]; 38 39 meta = with lib; { 40 description = "Save data from GitHub to a SQLite database"; 41 homepage = "https://github.com/dogsheep/github-to-sqlite"; 42 license = licenses.asl20; 43 maintainers = with maintainers; [ sarcasticadmin ]; 44 }; 45}