f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
37 lines
944 B
Nix
37 lines
944 B
Nix
{ pkgs, fetchurl, tk, python2Packages }:
|
|
|
|
let
|
|
pythonPackages = python2Packages;
|
|
in pythonPackages.buildPythonApplication rec {
|
|
version = "0.9.7";
|
|
name = "nvpy-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/cpbotha/nvpy/archive/v${version}.tar.gz";
|
|
sha256 = "1rd3vlaqkg16iz6qcw6rkbq0jmyvc0843wa3brnvn1nz0kla243f";
|
|
};
|
|
|
|
propagatedBuildInputs = with pythonPackages; [
|
|
markdown
|
|
tkinter
|
|
docutils
|
|
];
|
|
|
|
# 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;
|
|
};
|
|
}
|