Commit cab53706 authored by Philipp Bartsch's avatar Philipp Bartsch
Browse files

python3Packages.python-cstruct: 6.1 -> 6.2

parent 3998e885
Loading
Loading
Loading
Loading
+10 −7
Original line number Diff line number Diff line
@@ -3,18 +3,21 @@
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
  setuptools,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "cstruct";
  version = "6.1";
  format = "setuptools";
  version = "6.2";
  pyproject = true;

  build-system = [ setuptools ];

  src = fetchFromGitHub {
    owner = "andreax79";
    repo = "python-cstruct";
    tag = "v${version}";
    hash = "sha256-9MC6f8U++vJkglBmGMTmiamE8XqUNKTzKOz7TA148Ys=";
    tag = "v${finalAttrs.version}";
    hash = "sha256-jLpuvApEP8Acva/OV3ulwl4+dOy8t/cD/LFJWWnD3BM=";
  };

  pythonImportsCheck = [ "cstruct" ];
@@ -24,8 +27,8 @@ buildPythonPackage rec {
  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";
    changelog = "https://github.com/andreax79/python-cstruct/blob/${finalAttrs.src.tag}/changelog.txt";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ tnias ];
  };
}
})