1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 substituteAll,
6 openssl,
7 setuptools,
8 six,
9}:
10
11buildPythonPackage rec {
12 pname = "wallet-py3k";
13 version = "0.0.4";
14 pyproject = true;
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-kyHSh8qHbzK6gFLGnL6dUJ/GLJHTNC86jjXa/APqIzI=";
19 };
20
21 patches = [
22 (substituteAll {
23 src = ./openssl-path.patch;
24 openssl = lib.getExe openssl;
25 })
26 ];
27
28 build-system = [ setuptools ];
29
30 dependencies = [ six ];
31
32 doCheck = false; # no tests
33
34 pythonImportsCheck = [ "wallet" ];
35
36 meta = with lib; {
37 description = "Passbook file generator";
38 homepage = "https://pypi.org/project/wallet-py3k";
39 license = licenses.mit;
40 maintainers = with maintainers; [ hexa ];
41 };
42}