github-to-sqlite: init at 2.8.2 (#126563)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Robert James Hernandez 2021-06-11 01:58:55 -07:00 committed by GitHub
parent 2f44647294
commit b2a8e40881
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 49 additions and 1 deletions

View file

@ -0,0 +1,45 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, isPy3k
, pytestCheckHook
, pyyaml
, requests
, requests-mock
, sqlite-utils
}:
buildPythonPackage rec {
pname = "github-to-sqlite";
version = "2.8.2";
disabled = !isPy3k;
src = fetchFromGitHub {
owner = "dogsheep";
repo = pname;
rev = version;
sha256 = "16mw429ppnhgsa98qs3fhprqvdpqbr5q1biq3ql8rsf38difdbl8";
};
propagatedBuildInputs = [
sqlite-utils
pyyaml
requests
];
checkInputs = [
pytestCheckHook
requests-mock
];
disabledTests = [
"test_scrape_dependents"
];
meta = with lib; {
description = "Save data from GitHub to a SQLite database";
homepage = "https://github.com/dogsheep/github-to-sqlite";
license = licenses.asl20;
maintainers = with maintainers; [ sarcasticadmin ];
};
}

View file

@ -1529,6 +1529,8 @@ in
github-commenter = callPackage ../development/tools/github-commenter { };
github-to-sqlite = with python3Packages; toPythonApplication github-to-sqlite;
gitless = callPackage ../applications/version-management/gitless { python = python3; };
gitter = callPackage ../applications/networking/instant-messengers/gitter { };

View file

@ -2797,8 +2797,9 @@ in {
github3_py = callPackage ../development/python-modules/github3_py { };
github-webhook = callPackage ../development/python-modules/github-webhook { };
github-to-sqlite = callPackage ../development/python-modules/github-to-sqlite { };
github-webhook = callPackage ../development/python-modules/github-webhook { };
GitPython = callPackage ../development/python-modules/GitPython { };
git-revise = callPackage ../development/python-modules/git-revise { };