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

32 lines
608 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
cryptography,
ecdsa,
}:
buildPythonPackage rec {
version = "3.3.1";
format = "setuptools";
pname = "sshpubkeys";
src = fetchFromGitHub {
owner = "ojarva";
repo = "python-${pname}";
rev = version;
sha256 = "1qsixmqg97kyvg1naw76blq4314vaw4hl5f9wi0v111mcmdia1r4";
};
propagatedBuildInputs = [
cryptography
ecdsa
];
meta = with lib; {
description = "OpenSSH Public Key Parser for Python";
homepage = "https://github.com/ojarva/python-sshpubkeys";
license = licenses.bsd3;
maintainers = [ ];
};
}