summary refs log tree commit diff
path: root/pkgs/development/python-modules/python-otr/default.nix
blob: 2b08bbffa4506a88f1457423a153dafd76695231 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ stdenv
, buildPythonPackage
, fetchFromGitHub
, isPy3k
, zope_interface
, cryptography
, application
, gmpy2
}:

buildPythonPackage rec {
  pname = "python-otr";
  version = "1.2.0";
  disabled = isPy3k;

  src = fetchFromGitHub {
    owner = "AGProjects";
    repo = pname;
    rev = "release-${version}";
    sha256 = "0p3b1n8jlxwd65gbk2k5007fkhdyjwcvr4982s42hncivxvabzzy";
  };

  propagatedBuildInputs = [ zope_interface cryptography application gmpy2 ];

  meta = with stdenv.lib; {
    description = "A pure python implementation of OTR";
    homepage = https://github.com/AGProjects/otr;
    license = licenses.lgpl21Plus;
    platforms = platforms.linux;
    maintainers = with maintainers; [ edwtjo ];
  };

}