diff options
author | Chris Ostrouchov <chris.ostrouchov@gmail.com> | 2018-10-17 14:53:27 -0400 |
---|---|---|
committer | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2018-10-18 11:02:23 +0200 |
commit | 28542253faa6c7bd538a0939eff45f3940f5198f (patch) | |
tree | 69c7ed483bf32e06a59f133b6be64caa9d0cc126 /pkgs/development/python-modules/python-otr | |
parent | 3df4461e21084669eaa8ad225f66f0397f678160 (diff) | |
download | nixpkgs-28542253faa6c7bd538a0939eff45f3940f5198f.tar nixpkgs-28542253faa6c7bd538a0939eff45f3940f5198f.tar.gz nixpkgs-28542253faa6c7bd538a0939eff45f3940f5198f.tar.bz2 nixpkgs-28542253faa6c7bd538a0939eff45f3940f5198f.tar.lz nixpkgs-28542253faa6c7bd538a0939eff45f3940f5198f.tar.xz nixpkgs-28542253faa6c7bd538a0939eff45f3940f5198f.tar.zst nixpkgs-28542253faa6c7bd538a0939eff45f3940f5198f.zip |
pythonPackages.python-otr: refactor move to python-modules
Diffstat (limited to 'pkgs/development/python-modules/python-otr')
-rw-r--r-- | pkgs/development/python-modules/python-otr/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/python-otr/default.nix b/pkgs/development/python-modules/python-otr/default.nix new file mode 100644 index 00000000000..2b08bbffa45 --- /dev/null +++ b/pkgs/development/python-modules/python-otr/default.nix @@ -0,0 +1,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 ]; + }; + +} |