1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 replaceVars,
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 (replaceVars ./openssl-path.patch {
23 openssl = lib.getExe openssl;
24 })
25 ];
26
27 build-system = [ setuptools ];
28
29 dependencies = [ six ];
30
31 doCheck = false; # no tests
32
33 pythonImportsCheck = [ "wallet" ];
34
35 meta = with lib; {
36 description = "Passbook file generator";
37 homepage = "https://pypi.org/project/wallet-py3k";
38 license = licenses.mit;
39 maintainers = with maintainers; [ hexa ];
40 };
41}