Something went wrong. Try again.
lol
Something went wrong. Try again.
803 B · 34 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, setuptools,}:
buildPythonPackage (finalAttrs: { pname = "cstruct"; version = "6.2"; pyproject = true;
build-system = [ setuptools ];
src = fetchFromGitHub { owner = "andreax79"; repo = "python-cstruct"; tag = "v${finalAttrs.version}"; hash = "sha256-jLpuvApEP8Acva/OV3ulwl4+dOy8t/cD/LFJWWnD3BM="; };
pythonImportsCheck = [ "cstruct" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = { description = "C-style structs for Python"; homepage = "https://github.com/andreax79/python-cstruct"; changelog = "https://github.com/andreax79/python-cstruct/blob/${finalAttrs.src.tag}/changelog.txt"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ tnias ]; };})