depot/third_party/nixpkgs/pkgs/development/python-modules/sshpubkeys/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

25 lines
570 B
Nix

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