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

buildPythonApplication rec {
  pname = "mox-otp";
  version = "0.3.1-pre0";
  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 = "ac3c4ae89d3d7e7ca2c4cc1ad97cdbc9936a1026";
    #rev = "v" + version;
    sha256 = "0sknaqv7aga99x99mh5gvinx3fc4rl9pyaq8j71nmhblf50cfwk4";
  };
}