Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
898 B · 41 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142{ lib, buildPythonPackage, fetchFromGitHub, setuptools, setuptools-scm, pytestCheckHook, pythonOlder,}:
buildPythonPackage rec { pname = "dissect-cstruct"; version = "4.5"; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "fox-it"; repo = "dissect.cstruct"; tag = version; hash = "sha256-2n7y6nHt7gJtJeJIKpobiC7A+dnD6O/o+psinfOnvT8="; };
build-system = [ setuptools setuptools-scm ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "dissect.cstruct" ];
meta = with lib; { description = "Dissect module implementing a parser for C-like structures"; homepage = "https://github.com/fox-it/dissect.cstruct"; changelog = "https://github.com/fox-it/dissect.cstruct/releases/tag/${src.tag}"; license = licenses.agpl3Only; maintainers = with maintainers; [ fab ]; };}