Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / dissect-sql / default.nix
blob275e1a2913d3892b41d1b6f7c0d4ae7b8f48c57c
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.8";
15   format = "pyproject";
17   disabled = pythonOlder "3.8";
19   src = fetchFromGitHub {
20     owner = "fox-it";
21     repo = "dissect.sql";
22     rev = "refs/tags/${version}";
23     hash = "sha256-f19l1NxIdkQRaqEAgeTIuloPY079TmnNZ/DLQEXFQIA=";
24   };
26   nativeBuildInputs = [
27     setuptools
28     setuptools-scm
29   ];
31   propagatedBuildInputs = [
32     dissect-cstruct
33     dissect-util
34   ];
36   nativeCheckInputs = [
37     pytestCheckHook
38   ];
40   pythonImportsCheck = [
41     "dissect.sql"
42   ];
44   meta = with lib; {
45     description = "Dissect module implementing a parsers for the SQLite database file format";
46     homepage = "https://github.com/fox-it/dissect.sql";
47     changelog = "https://github.com/fox-it/dissect.sql/releases/tag/${version}";
48     license = licenses.agpl3Only;
49     maintainers = with maintainers; [ fab ];
50   };