1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-22 17:31:04 +03:00

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