github-to-sqlite: init at 2.8.2 (#126563)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
2f44647294
commit
b2a8e40881
45
pkgs/development/python-modules/github-to-sqlite/default.nix
Normal file
45
pkgs/development/python-modules/github-to-sqlite/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue