aboutsummaryrefslogtreecommitdiff
path: root/pkgs/mox-otp/default.nix
blob: 335e5a48c9ab186089d622b488f9caf848b0fcb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ buildPythonApplication, lib, fetchgit
, python3
}:

buildPythonApplication rec {
  pname = "mox-otp";
  version = "0.3.1";
  meta = with lib; {
    homepage = "https://gitlab.nic.cz/turris/mox-otp";
    description = "Command line tool to query MOX CPU read-only OTP device";
    platforms = platforms.linux;
    license = licenses.gpl3;
  };

  src = fetchgit {
    url = "https://gitlab.nic.cz/turris/mox-otp.git";
    rev = "v" + version;
    sha256 = "0sknaqv7aga99x99mh5gvinx3fc4rl9pyaq8j71nmhblf50cfwk4";
  };
}