python3Packages.cstruct: init at 5.2
This commit is contained in:
parent
dd6b058998
commit
0edd6eb328
34
pkgs/development/python-modules/cstruct/default.nix
Normal file
34
pkgs/development/python-modules/cstruct/default.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cstruct";
|
||||
version = "5.2";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "andreax79";
|
||||
repo = "python-cstruct";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Dwogf0mmxFyBV7tPsuKV6gMZLPSCm7YhzqgJNHpaPFA=";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -2122,6 +2122,8 @@ self: super: with self; {
|
||||
|
||||
cssutils = callPackage ../development/python-modules/cssutils { };
|
||||
|
||||
cstruct = callPackage ../development/python-modules/cstruct { };
|
||||
|
||||
csvw = callPackage ../development/python-modules/csvw { };
|
||||
|
||||
cu2qu = callPackage ../development/python-modules/cu2qu { };
|
||||
|
Loading…
Reference in New Issue
Block a user