Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / cstruct / default.nix
blob5c0baaf88f204a3f38ca3cd44a9c8b93d250b01e
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 }:
7 buildPythonPackage rec {
8   pname = "cstruct";
9   version = "5.3";
10   format = "setuptools";
12   src = fetchFromGitHub {
13     owner = "andreax79";
14     repo = "python-cstruct";
15     rev = "refs/tags/v${version}";
16     hash = "sha256-VDJ0k3cOuHjckujf9yD1GVE+UM/Y9rjqhiq+MqGq2eM=";
17   };
19   pythonImportsCheck = [
20     "cstruct"
21   ];
23   nativeCheckInputs = [
24     pytestCheckHook
25   ];
27   meta = with lib; {
28     description = "C-style structs for Python";
29     homepage = "https://github.com/andreax79/python-cstruct";
30     changelog = "https://github.com/andreax79/python-cstruct/blob/v${version}/changelog.txt";
31     license = licenses.mit;
32     maintainers = with maintainers; [ tnias ];
33   };