Commit 6ae8d069 authored by Martin Weinelt's avatar Martin Weinelt Committed by Yureka
Browse files
parent 340f603d
Loading
Loading
Loading
Loading
+2 −11
Original line number Diff line number Diff line
@@ -2,29 +2,20 @@
  lib,
  python3Packages,
  fetchFromGitHub,
  fetchpatch2,
}:

python3Packages.buildPythonApplication rec {
  pname = "pretix-banktool";
  version = "1.0.0";
  version = "1.1.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "pretix";
    repo = "pretix-banktool";
    rev = "v${version}";
    hash = "sha256-vYHjotx1RujPV53Ei7bXAc3kL/3cwbWQB1T3sQ15MFA=";
    hash = "sha256-x6P+WqrOak5/gmMEmBkHrx6kPsbSOAXbKRbndFG3IJU=";
  };

  patches = [
    (fetchpatch2 {
      # migrate to pyproject.toml, relax constraints
      url = "https://github.com/pretix/pretix-banktool/commit/48a8125aba86d70f62c2b1f88bcf21c783402589.patch";
      hash = "sha256-HbVzWoI5LlNyh0MZnPsLmzu7RMY8/BDfOwgDWMD+k5w=";
    })
  ];

  build-system = with python3Packages; [ setuptools ];

  dependencies = with python3Packages; [