blob: 5c0baaf88f204a3f38ca3cd44a9c8b93d250b01e (
plain) (
blame)
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
32
33
34
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "cstruct";
version = "5.3";
format = "setuptools";
src = fetchFromGitHub {
owner = "andreax79";
repo = "python-cstruct";
rev = "refs/tags/v${version}";
hash = "sha256-VDJ0k3cOuHjckujf9yD1GVE+UM/Y9rjqhiq+MqGq2eM=";
};
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/v${version}/changelog.txt";
license = licenses.mit;
maintainers = with maintainers; [ tnias ];
};
}
|