blob: c304c30be9e80ed6e26ae29ec4e98609e1a286b6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{ pkgs, fetchFromGitHub, python3Packages }:
let
pythonPackages = python3Packages;
in pythonPackages.buildPythonApplication rec {
version = "2.3.1";
pname = "nvpy";
src = fetchFromGitHub {
owner = "cpbotha";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "sha256-guNdLu/bCk89o5M3gQU7J0W4h7eZdLHM0FG5IAPLE7c=";
};
propagatedBuildInputs = with pythonPackages; [
markdown
docutils
simplenote
tkinter
];
# No tests
doCheck = false;
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"
'';
meta = with pkgs.lib; {
description = "A simplenote-syncing note-taking tool inspired by Notational Velocity";
homepage = "https://github.com/cpbotha/nvpy";
platforms = platforms.linux;
license = licenses.bsd3;
mainProgram = "nvpy";
};
}
|