depot/third_party/nixpkgs/pkgs/development/python-modules/wallet-py3k/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

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 ];
};
}