biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / github-to-sqlite / default.nix
blob20ca2879ae3f82076d741badcb2c178e482910e5
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   isPy3k,
6   pytestCheckHook,
7   pyyaml,
8   requests,
9   requests-mock,
10   sqlite-utils,
13 buildPythonPackage rec {
14   pname = "github-to-sqlite";
15   version = "2.9";
16   format = "setuptools";
17   disabled = !isPy3k;
19   src = fetchFromGitHub {
20     owner = "dogsheep";
21     repo = pname;
22     rev = version;
23     hash = "sha256-KwLaaZxBBzRhiBv4p8Imb5XI1hyka9rmr/rxA6wDc7Q=";
24   };
26   propagatedBuildInputs = [
27     sqlite-utils
28     pyyaml
29     requests
30   ];
32   nativeCheckInputs = [
33     pytestCheckHook
34     requests-mock
35   ];
37   disabledTests = [ "test_scrape_dependents" ];
39   meta = with lib; {
40     description = "Save data from GitHub to a SQLite database";
41     mainProgram = "github-to-sqlite";
42     homepage = "https://github.com/dogsheep/github-to-sqlite";
43     license = licenses.asl20;
44     maintainers = with maintainers; [ sarcasticadmin ];
45   };