Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
730 B · 31 lines
Nix
1234567891011121314151617181920212223242526272829303132{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook,}:
buildPythonPackage rec { pname = "cstruct"; version = "6.1"; format = "setuptools";
src = fetchFromGitHub { owner = "andreax79"; repo = "python-cstruct"; tag = "v${version}"; hash = "sha256-9MC6f8U++vJkglBmGMTmiamE8XqUNKTzKOz7TA148Ys="; };
pythonImportsCheck = [ "cstruct" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; { description = "C-style structs for Python"; homepage = "https://github.com/andreax79/python-cstruct"; changelog = "https://github.com/andreax79/python-cstruct/blob/${src.tag}/changelog.txt"; license = licenses.mit; maintainers = with maintainers; [ tnias ]; };}