blob: d30f702ce6b5c4ce4a61d6cdfd46f02b93b4a5c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{
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 = {
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 = lib.licenses.mit;
maintainers = with lib.maintainers; [ tnias ];
};
}
|