Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv 2, buildPythonPackage 3, fetchFromGitHub 4, isPy3k 5, zope_interface 6, cryptography 7, application 8, gmpy2 9}: 10 11buildPythonPackage rec { 12 pname = "python-otr"; 13 version = "1.2.0"; 14 disabled = isPy3k; 15 16 src = fetchFromGitHub { 17 owner = "AGProjects"; 18 repo = pname; 19 rev = "release-${version}"; 20 sha256 = "0p3b1n8jlxwd65gbk2k5007fkhdyjwcvr4982s42hncivxvabzzy"; 21 }; 22 23 propagatedBuildInputs = [ zope_interface cryptography application gmpy2 ]; 24 25 meta = with stdenv.lib; { 26 description = "A pure python implementation of OTR"; 27 homepage = https://github.com/AGProjects/otr; 28 license = licenses.lgpl21Plus; 29 platforms = platforms.linux; 30 maintainers = with maintainers; [ edwtjo ]; 31 }; 32 33}