Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / dissect-etl / default.nix
blobde6a49ba9e262efaec74c7f857d6fd7c29aeabee
1 { lib
2 , buildPythonPackage
3 , dissect-cstruct
4 , dissect-util
5 , fetchFromGitHub
6 , setuptools
7 , setuptools-scm
8 , pytestCheckHook
9 , pythonOlder
12 buildPythonPackage rec {
13   pname = "dissect-etl";
14   version = "3.7";
15   format = "pyproject";
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     owner = "fox-it";
21     repo = "dissect.etl";
22     rev = "refs/tags/${version}";
23     hash = "sha256-z6P7XpA+j9JIJJsp/Z4uewFw9OAPSZV+57eJu7rd17I=";
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   nativeCheckInputs = [
39     pytestCheckHook
40   ];
42   pythonImportsCheck = [
43     "dissect.etl"
44   ];
46   meta = with lib; {
47     description = "Dissect module implementing a parser for Event Trace Log (ETL) files";
48     homepage = "https://github.com/fox-it/dissect.etl";
49     changelog = "https://github.com/fox-it/dissect.etl/releases/tag/${version}";
50     license = licenses.agpl3Only;
51     maintainers = with maintainers; [ fab ];
52   };