Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 51 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib, buildPythonPackage, dissect-cstruct, fetchFromGitHub, setuptools, setuptools-scm, pytestCheckHook, pythonOlder}:
buildPythonPackage rec { pname = "dissect-clfs"; version = "1.5"; format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "fox-it"; repo = "dissect.clfs"; rev = "refs/tags/${version}"; hash = "sha256-utXgMVsNp78bwTBaSv5kglFfHrav5cV/YYzGCogJmtI="; };
SETUPTOOLS_SCM_PRETEND_VERSION = version;
nativeBuildInputs = [ setuptools setuptools-scm ];
propagatedBuildInputs = [ dissect-cstruct ];
nativeCheckInputs = [ 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"; changelog = "https://github.com/fox-it/dissect.clfs/releases/tag/${version}"; license = licenses.agpl3Only; maintainers = with maintainers; [ fab ]; };}