2018-07-21 00:44:44 +00:00
|
|
|
{ pkgs, fetchurl, python2Packages }:
|
2013-07-12 23:09:53 +00:00
|
|
|
|
2016-10-17 12:13:33 +00:00
|
|
|
let
|
|
|
|
pythonPackages = python2Packages;
|
|
|
|
in pythonPackages.buildPythonApplication rec {
|
2016-04-13 01:54:24 +00:00
|
|
|
version = "0.9.7";
|
2018-06-23 13:27:58 +00:00
|
|
|
pname = "nvpy";
|
2013-07-12 23:09:53 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/cpbotha/nvpy/archive/v${version}.tar.gz";
|
2016-04-13 01:54:24 +00:00
|
|
|
sha256 = "1rd3vlaqkg16iz6qcw6rkbq0jmyvc0843wa3brnvn1nz0kla243f";
|
2013-07-12 23:09:53 +00:00
|
|
|
};
|
|
|
|
|
2016-10-17 12:13:33 +00:00
|
|
|
propagatedBuildInputs = with pythonPackages; [
|
|
|
|
markdown
|
|
|
|
tkinter
|
|
|
|
docutils
|
2013-07-12 23:09:53 +00:00
|
|
|
];
|
|
|
|
|
2016-10-17 12:13:33 +00:00
|
|
|
# No tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2013-07-12 23:09:53 +00:00
|
|
|
postInstall = ''
|
|
|
|
install -dm755 "$out/share/licenses/nvpy/"
|
|
|
|
install -m644 LICENSE.txt "$out/share/licenses/nvpy/LICENSE"
|
|
|
|
|
|
|
|
install -dm755 "$out/share/doc/nvpy/"
|
|
|
|
install -m644 README.rst "$out/share/doc/nvpy/README"
|
|
|
|
'';
|
|
|
|
|
2013-08-20 23:23:40 +00:00
|
|
|
meta = with pkgs.lib; {
|
2013-07-12 23:09:53 +00:00
|
|
|
description = "A simplenote-syncing note-taking tool inspired by Notational Velocity";
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = https://github.com/cpbotha/nvpy;
|
2013-08-20 23:23:40 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.bsd3;
|
2013-07-12 23:09:53 +00:00
|
|
|
};
|
|
|
|
}
|