nixpkgs/pkgs/applications/editors/nvpy/default.nix

38 lines
944 B
Nix
Raw Normal View History

2016-10-17 14:13:33 +02:00
{ pkgs, fetchurl, tk, python2Packages }:
2016-10-17 14:13:33 +02:00
let
pythonPackages = python2Packages;
in pythonPackages.buildPythonApplication rec {
2016-04-13 03:54:24 +02:00
version = "0.9.7";
name = "nvpy-${version}";
src = fetchurl {
url = "https://github.com/cpbotha/nvpy/archive/v${version}.tar.gz";
2016-04-13 03:54:24 +02:00
sha256 = "1rd3vlaqkg16iz6qcw6rkbq0jmyvc0843wa3brnvn1nz0kla243f";
};
2016-10-17 14:13:33 +02:00
propagatedBuildInputs = with pythonPackages; [
markdown
tkinter
docutils
];
2016-10-17 14:13:33 +02:00
# 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"
'';
2013-08-21 01:23:40 +02:00
meta = with pkgs.lib; {
description = "A simplenote-syncing note-taking tool inspired by Notational Velocity";
homepage = https://github.com/cpbotha/nvpy;
2013-08-21 01:23:40 +02:00
platforms = platforms.linux;
license = licenses.bsd3;
};
}