diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2022-10-07 17:16:44 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2022-10-07 17:16:44 +0200 |
commit | 6d289907ab5030cdf13fff969ac8e98200bc3525 (patch) | |
tree | 333fc5f6f789ff385c2e6ada584997ad3e9680a3 /pkgs/development/python-modules/dissect-clfs | |
parent | 00eb66b55c7dbdb78578c31c30e749cb536703b6 (diff) |
python310Packages.dissect-clfs: init at 1.1
Diffstat (limited to 'pkgs/development/python-modules/dissect-clfs')
-rw-r--r-- | pkgs/development/python-modules/dissect-clfs/default.nix | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/dissect-clfs/default.nix b/pkgs/development/python-modules/dissect-clfs/default.nix new file mode 100644 index 0000000000000..2265792f88075 --- /dev/null +++ b/pkgs/development/python-modules/dissect-clfs/default.nix @@ -0,0 +1,50 @@ +{ lib +, buildPythonPackage +, dissect-cstruct +, fetchFromGitHub +, setuptools +, setuptools-scm +, pytestCheckHook +, pythonOlder +}: + +buildPythonPackage rec { + pname = "dissect-clfs"; + version = "1.1"; + format = "pyproject"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "fox-it"; + repo = "dissect.clfs"; + rev = version; + hash = "sha256-5rG8YiVBU4ETLgQoFnMaeXHttIB26+OhIdYjKDKmPBc="; + }; + + SETUPTOOLS_SCM_PRETEND_VERSION = version; + + nativeBuildInputs = [ + setuptools + setuptools-scm + ]; + + propagatedBuildInputs = [ + dissect-cstruct + ]; + + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "dissect.clfs" + ]; + + meta = with lib; { + description = "Dissect module implementing a parser for the CLFS (Common Log File System) file system"; + homepage = "https://github.com/fox-it/dissect.clfs"; + license = licenses.agpl3Only; + maintainers = with maintainers; [ fab ]; + }; +} |