fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
42 lines
758 B
Nix
42 lines
758 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
substituteAll,
|
|
openssl,
|
|
setuptools,
|
|
six,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "wallet-py3k";
|
|
version = "0.0.4";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-kyHSh8qHbzK6gFLGnL6dUJ/GLJHTNC86jjXa/APqIzI=";
|
|
};
|
|
|
|
patches = [
|
|
(substituteAll {
|
|
src = ./openssl-path.patch;
|
|
openssl = lib.getExe openssl;
|
|
})
|
|
];
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ six ];
|
|
|
|
doCheck = false; # no tests
|
|
|
|
pythonImportsCheck = [ "wallet" ];
|
|
|
|
meta = with lib; {
|
|
description = "Passbook file generator";
|
|
homepage = "https://pypi.org/project/wallet-py3k";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ hexa ];
|
|
};
|
|
}
|