python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / python-modules / dissect-sql / default.nix
blob816fe7e612f20156d273b596ec9b537b88b513ea
1 { lib
2 , buildPythonPackage
3 , dissect-cstruct
4 , dissect-util
5 , fetchFromGitHub
6 , pytestCheckHook
7 , pythonOlder
8 , setuptools
9 , setuptools-scm
12 buildPythonPackage rec {
13   pname = "dissect-sql";
14   version = "3.1";
15   format = "pyproject";
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     owner = "fox-it";
21     repo = "dissect.sql";
22     rev = version;
23     hash = "sha256-uKCCwTFLQSos+L0qc1pFlF3O4FV13up0qFqDYdTZJBk=";
24   };
26   SETUPTOOLS_SCM_PRETEND_VERSION = version;
28   nativeBuildInputs = [
29     setuptools
30     setuptools-scm
31   ];
33   propagatedBuildInputs = [
34     dissect-cstruct
35     dissect-util
36   ];
38   checkInputs = [
39     pytestCheckHook
40   ];
42   pythonImportsCheck = [
43     "dissect.sql"
44   ];
46   meta = with lib; {
47     description = "Dissect module implementing a parsers for the SQLite database file format";
48     homepage = "https://github.com/fox-it/dissect.sql";
49     license = licenses.agpl3Only;
50     maintainers = with maintainers; [ fab ];
51   };