From 32239620945c9468ba0e3c92d2cd8e4b4c34d246 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 12 Apr 2022 14:44:49 +0200 Subject: pkgs/mox-otp: add new package --- pkgs/mox-otp/default.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pkgs/mox-otp/default.nix (limited to 'pkgs/mox-otp/default.nix') diff --git a/pkgs/mox-otp/default.nix b/pkgs/mox-otp/default.nix new file mode 100644 index 0000000..172d588 --- /dev/null +++ b/pkgs/mox-otp/default.nix @@ -0,0 +1,19 @@ +{ buildPythonApplication, lib, fetchgit +, python3 +}: + +buildPythonApplication rec { + pname = "mox-otp"; + version = "0.3"; + meta = with lib; { + homepage = "https://gitlab.nic.cz/turris/mox-otp"; + description = "Command line tool to query MOX CPU read-only OTP device"; + license = licenses.gpl3; + }; + + src = fetchgit { + url = "https://gitlab.nic.cz/turris/mox-otp.git"; + rev = "v" + version; + sha256 = "12k9mgv1kmv9cawgx0ccq4m4liqizszvvsl457jkkirb7rbzhw5y"; + }; +} -- cgit v1.2.3