2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, isPy27
|
|
|
|
, thrift
|
|
|
|
, beautifulsoup4
|
|
|
|
, markdown2
|
|
|
|
, sqlalchemy
|
|
|
|
, html2text
|
|
|
|
, evernote
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage {
|
|
|
|
version = "2015-05-11";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "geeknote";
|
|
|
|
disabled = ! isPy27;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "VitaliyRodnenko";
|
|
|
|
repo = "geeknote";
|
|
|
|
rev = "8489a87d044e164edb321ba9acca8d4631de3dca";
|
|
|
|
sha256 = "0l16v4xnyqnsf84b1pma0jmdyxvmfwcv3sm8slrv3zv7zpmcm3lf";
|
|
|
|
};
|
|
|
|
|
|
|
|
/* build with tests fails with "Can not create application dirictory :
|
|
|
|
/homeless-shelter/.geeknotebuilder". */
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ thrift beautifulsoup4 markdown2 sqlalchemy html2text evernote ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Work with Evernote from command line";
|
|
|
|
homepage = "http://www.geeknote.me";
|
2022-10-21 18:38:19 +00:00
|
|
|
license = licenses.gpl1Only;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ hbunke ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|