pythonPackages.trezor_agent: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-29 15:07:01 -04:00
parent 6ca3651766
commit 0851a181f0
2 changed files with 32 additions and 22 deletions

View File

@@ -0,0 +1,31 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, trezor
, libagent
, ecdsa
, ed25519
, mnemonic
, keepkey
, semver
}:
buildPythonPackage rec{
pname = "trezor_agent";
version = "0.9.0";
src = fetchPypi {
inherit pname version;
sha256 = "1i5cdamlf3c0ym600pjklij74p8ifj9cv7xrpnrfl1b8nkadswbz";
};
propagatedBuildInputs = [ trezor libagent ecdsa ed25519 mnemonic keepkey semver ];
meta = with stdenv.lib; {
description = "Using Trezor as hardware SSH agent";
homepage = https://github.com/romanz/trezor-agent;
license = licenses.gpl3;
maintainers = with maintainers; [ np ];
};
}