btrbk: add mainProgram (#356350)
[NixPkgs.git] / pkgs / development / python-modules / geeknote / default.nix
blob1aeeabd92f29503ac39eaf4d9f0fcf3d23696118
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   isPy27,
6   thrift,
7   beautifulsoup4,
8   markdown2,
9   sqlalchemy,
10   html2text,
11   evernote,
14 buildPythonPackage {
15   version = "2015-05-11";
16   format = "setuptools";
17   pname = "geeknote";
18   disabled = !isPy27;
20   src = fetchFromGitHub {
21     owner = "VitaliyRodnenko";
22     repo = "geeknote";
23     rev = "8489a87d044e164edb321ba9acca8d4631de3dca";
24     sha256 = "0l16v4xnyqnsf84b1pma0jmdyxvmfwcv3sm8slrv3zv7zpmcm3lf";
25   };
27   /*
28     build with tests fails with "Can not create application dirictory :
29     /homeless-shelter/.geeknotebuilder".
30   */
31   doCheck = false;
33   propagatedBuildInputs = [
34     thrift
35     beautifulsoup4
36     markdown2
37     sqlalchemy
38     html2text
39     evernote
40   ];
42   meta = with lib; {
43     description = "Work with Evernote from command line";
44     homepage = "http://www.geeknote.me";
45     license = licenses.gpl1Only;
46     maintainers = with maintainers; [ hbunke ];
47   };