aboutsummaryrefslogtreecommitdiff
path: root/pkgs/mox-otp/default.nix
blob: 172d5888bd26a850cf25b2788b9cb0117cae63a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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";
  };
}