mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 21:09:00 +02:00
pythonPackages.trezor_agent: refactor move to python-modules
This commit is contained in:
parent
6ca3651766
commit
0851a181f0
31
pkgs/development/python-modules/trezor_agent/default.nix
Normal file
31
pkgs/development/python-modules/trezor_agent/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
|
@ -4529,28 +4529,7 @@ in {
|
||||||
|
|
||||||
trezor = callPackage ../development/python-modules/trezor { };
|
trezor = callPackage ../development/python-modules/trezor { };
|
||||||
|
|
||||||
trezor_agent = buildPythonPackage rec{
|
trezor_agent = callPackage ../development/python-modules/trezor_agent { };
|
||||||
name = "${pname}-${version}";
|
|
||||||
pname = "trezor_agent";
|
|
||||||
version = "0.9.0";
|
|
||||||
|
|
||||||
src = fetchPypi {
|
|
||||||
inherit pname version;
|
|
||||||
sha256 = "1i5cdamlf3c0ym600pjklij74p8ifj9cv7xrpnrfl1b8nkadswbz";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [
|
|
||||||
trezor libagent ecdsa ed25519
|
|
||||||
mnemonic keepkey semver
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Using Trezor as hardware SSH agent";
|
|
||||||
homepage = https://github.com/romanz/trezor-agent;
|
|
||||||
license = licenses.gpl3;
|
|
||||||
maintainers = with maintainers; [ np ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
x11_hash = buildPythonPackage rec{
|
x11_hash = buildPythonPackage rec{
|
||||||
version = "1.4";
|
version = "1.4";
|
||||||
|
|
Loading…
Reference in a new issue