about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorEdward Tjörnhammar <ed@cflags.cc>2015-04-27 00:20:12 +0200
committerEdward Tjörnhammar <ed@cflags.cc>2015-04-27 00:20:12 +0200
commit2a8b3c724bef228a36b9d4738d7c576c5e665c10 (patch)
treec2013c3a2c053612b769dd1d714dca9eef2f385b /pkgs
parent28192e5fa852872bea72d97b237b98ff4ec6ed61 (diff)
parent60aa7bec6426be7ead41352a5d2c3d260937baaf (diff)
downloadnixlib-2a8b3c724bef228a36b9d4738d7c576c5e665c10.tar
nixlib-2a8b3c724bef228a36b9d4738d7c576c5e665c10.tar.gz
nixlib-2a8b3c724bef228a36b9d4738d7c576c5e665c10.tar.bz2
nixlib-2a8b3c724bef228a36b9d4738d7c576c5e665c10.tar.lz
nixlib-2a8b3c724bef228a36b9d4738d7c576c5e665c10.tar.xz
nixlib-2a8b3c724bef228a36b9d4738d7c576c5e665c10.tar.zst
nixlib-2a8b3c724bef228a36b9d4738d7c576c5e665c10.zip
Merge pull request #7521 from hbunke/hb_geeknote
python-packages: added geeknote with dependencies
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/top-level/python-packages.nix91
1 files changed, 91 insertions, 0 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index f7cdb87eda31..ffb163b57147 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -14994,4 +14994,95 @@ let
     };
   };
 
+  
+  markdown2 = buildPythonPackage rec {
+    name = "markdown2-${version}";
+    version = "2.3.0";
+
+    src = pkgs.fetchurl {
+      url = "https://pypi.python.org/packages/source/m/markdown2/${name}.zip";
+      sha256 = "073zyx3caqa9zlzxa82k9k2nhhn8c5imqpgp5nwqnh0fgaj9pqn8";
+    };
+    propagatedBuildInputs = with self; [];
+    meta = with stdenv.lib; {
+      description = "A fast and complete Python implementation of Markdown";
+      homepage =  https://github.com/trentm/python-markdown2;
+      license = licenses.mit;
+      maintainers = with maintainers; [ hbunke ];
+    };
+  };
+  
+  
+  evernote = buildPythonPackage rec {
+    name = "evernote-${version}";
+    version = "1.25.0";
+    disabled = ! isPy27; #some dependencies do not work with py3
+
+    src = pkgs.fetchurl {
+      url = "https://pypi.python.org/packages/source/e/evernote/${name}.tar.gz";
+      sha256 = "1lwlg6fpi3530245jzham1400a5b855bm4sbdyck229h9kg1v02d";
+    };
+
+     propagatedBuildInputs = with self; [ oauth2 ];
+
+     meta = with stdenv.lib; {
+      description = "Evernote SDK for Python";
+      homepage = http://dev.evernote.com;
+      license = licenses.asl20;
+      maintainers = with maintainers; [ hbunke ];
+     };
+  };
+    
+  thrift = buildPythonPackage rec {
+    name = "thrift-${version}";
+    version = "0.9.2";
+
+    src = pkgs.fetchurl {
+      url = "https://pypi.python.org/packages/source/t/thrift/${name}.tar.gz";
+      sha256 = "1yla6wg18x2a0l0lrvkp1v464hqhff98ck8pnv8d5j9kn3j6bxh8";
+    };
+
+    meta = with stdenv.lib; {
+      description = "Python bindings for the Apache Thrift RPC system";
+      homepage = http://thrift.apache.org/;
+      license = licenses.asl20;
+      maintainers = with maintainers; [ hbunke ];
+
+    };
+  };
+  
+  geeknote = buildPythonPackage rec {
+    version = "2015-03-02";
+    name = "geeknote-${version}";
+    disabled = ! isPy27; 
+
+    src = pkgs.fetchFromGitHub {
+      owner = "VitaliyRodnenko";
+      repo = "geeknote";
+      rev = "7ea2255bb6";
+      sha256 = "0lw3m8g7r8r7dxhqih08x0i6agd201q2ig35a59rd4vygr3xqw2j";
+    };
+
+    /* build with tests fails with "Can not create application dirictory : 
+     /homeless-shelter/.geeknotebuilder". */
+    doCheck = false;
+
+    propagatedBuildInputs = with self; [ 
+        thrift 
+        beautifulsoup4 
+        markdown2
+        sqlalchemy
+        html2text
+        evernote
+    ];
+
+    meta = with stdenv.lib; {
+      description = "Work with Evernote from command line";
+      homepage = http://www.geeknote.me;
+      license = licenses.gpl1;
+      maintainers = with maintainers; [ hbunke ];
+
+    };
+  };
+
 }; in pythonPackages