about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/keepkey-agent/default.nix
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2024-01-10 01:11:23 +0100
committerAlyssa Ross <hi@alyssa.is>2024-01-10 01:11:23 +0100
commitc8d05d8abadb244bc4e6cee75d450978d1f09a61 (patch)
tree2d710425b8e3f78e84d5e46abb3397cb1b34ec18 /nixpkgs/pkgs/development/python-modules/keepkey-agent/default.nix
parentad899504860973e98351c922ecb934595f2c0f19 (diff)
parent0ed96eed101462bf05e1e99e1bbadcd49b4eb302 (diff)
downloadnixlib-c8d05d8abadb244bc4e6cee75d450978d1f09a61.tar
nixlib-c8d05d8abadb244bc4e6cee75d450978d1f09a61.tar.gz
nixlib-c8d05d8abadb244bc4e6cee75d450978d1f09a61.tar.bz2
nixlib-c8d05d8abadb244bc4e6cee75d450978d1f09a61.tar.lz
nixlib-c8d05d8abadb244bc4e6cee75d450978d1f09a61.tar.xz
nixlib-c8d05d8abadb244bc4e6cee75d450978d1f09a61.tar.zst
nixlib-c8d05d8abadb244bc4e6cee75d450978d1f09a61.zip
Merge branch 'nixos-unstable-small' of https://github.com/NixOS/nixpkgs
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/keepkey-agent/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/keepkey-agent/default.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/keepkey-agent/default.nix b/nixpkgs/pkgs/development/python-modules/keepkey-agent/default.nix
new file mode 100644
index 000000000000..f9404f183c47
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/keepkey-agent/default.nix
@@ -0,0 +1,34 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, keepkey
+, setuptools
+, libagent
+, wheel
+}:
+
+buildPythonPackage rec {
+  pname = "keepkey-agent";
+  version = "0.9.0";
+  format = "setuptools";
+
+  src = fetchPypi {
+    pname = "keepkey_agent";
+    inherit version;
+    sha256 = "03779gvlx70i0nnry98i4pl1d92604ix5x6jgdfkrdgzqbh5vj27";
+  };
+
+  propagatedBuildInputs = [
+    keepkey libagent setuptools wheel
+  ];
+
+  doCheck = false;
+  pythonImportsCheck = [ "keepkey_agent" ];
+
+  meta = with lib; {
+    description = "Using KeepKey as hardware-based SSH/PGP agent";
+    homepage = "https://github.com/romanz/trezor-agent";
+    license = licenses.gpl3;
+    maintainers = with maintainers; [ hkjn np mmahut ];
+  };
+}