diff options
author | Karel Kočí <cynerd@email.cz> | 2022-04-12 14:44:49 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2022-04-12 21:48:07 +0200 |
commit | 32239620945c9468ba0e3c92d2cd8e4b4c34d246 (patch) | |
tree | caedb852d514806631a51e1466fa3216e5d20bf7 /pkgs/mox-otp | |
parent | b1bd3d7b5cf5d2dfb94493bb73140e6d8210f401 (diff) | |
download | nixturris-32239620945c9468ba0e3c92d2cd8e4b4c34d246.tar.gz nixturris-32239620945c9468ba0e3c92d2cd8e4b4c34d246.tar.bz2 nixturris-32239620945c9468ba0e3c92d2cd8e4b4c34d246.zip |
pkgs/mox-otp: add new package
Diffstat (limited to 'pkgs/mox-otp')
-rw-r--r-- | pkgs/mox-otp/default.nix | 19 |
1 files changed, 19 insertions, 0 deletions
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"; + }; +} |