summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorwisut hantanong <wizzup@gmail.com>2017-08-31 21:02:30 +0700
committerwisut hantanong <wizzup@gmail.com>2017-08-31 21:18:41 +0700
commit80ca1cae8b72767e2b27164e8c499e7ac894f36a (patch)
treeb3bffa2e12e773e901775db84a537eeb422de117 /pkgs/development/python-modules
parentac35d9884bed0e39d6206a982b6e13e50b0484f4 (diff)
downloadnixlib-80ca1cae8b72767e2b27164e8c499e7ac894f36a.tar
nixlib-80ca1cae8b72767e2b27164e8c499e7ac894f36a.tar.gz
nixlib-80ca1cae8b72767e2b27164e8c499e7ac894f36a.tar.bz2
nixlib-80ca1cae8b72767e2b27164e8c499e7ac894f36a.tar.lz
nixlib-80ca1cae8b72767e2b27164e8c499e7ac894f36a.tar.xz
nixlib-80ca1cae8b72767e2b27164e8c499e7ac894f36a.tar.zst
nixlib-80ca1cae8b72767e2b27164e8c499e7ac894f36a.zip
pythonPackages.pygpgme : move to separate expression
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/pygpgme/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pygpgme/default.nix b/pkgs/development/python-modules/pygpgme/default.nix
new file mode 100644
index 000000000000..85bf262837f7
--- /dev/null
+++ b/pkgs/development/python-modules/pygpgme/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, buildPythonPackage, fetchurl, isPyPy
+, gpgme }:
+
+buildPythonPackage rec {
+  version = "0.3";
+  pname = "pygpgme";
+  name = "${pname}-${version}";
+  disabled = isPyPy;
+
+  src = fetchurl {
+    url = "https://launchpad.net/pygpgme/trunk/${version}/+download/${name}.tar.gz";
+    sha256 = "5fd887c407015296a8fd3f4b867fe0fcca3179de97ccde90449853a3dfb802e1";
+  };
+
+  # error: invalid command 'test'
+  doCheck = false;
+
+  propagatedBuildInputs = [ gpgme ];
+
+  meta = with stdenv.lib; {
+    homepage = "https://launchpad.net/pygpgme";
+    description = "A Python wrapper for the GPGME library";
+    license = licenses.lgpl21;
+    maintainers = with maintainers; [ garbas ];
+  };
+}