biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / editors / nvpy / default.nix
blobddb76bad3686f719f6ef48aaa51d14a7b94cbb47
1 { pkgs, fetchFromGitHub, python3Packages }:
3 let
4   pythonPackages = python3Packages;
5 in pythonPackages.buildPythonApplication rec {
6   version = "2.3.1";
7   pname = "nvpy";
9   src = fetchFromGitHub {
10     owner = "cpbotha";
11     repo = pname;
12     rev = "refs/tags/v${version}";
13     sha256 = "sha256-guNdLu/bCk89o5M3gQU7J0W4h7eZdLHM0FG5IAPLE7c=";
14   };
17   propagatedBuildInputs = with pythonPackages; [
18     markdown
19     docutils
20     simplenote
21     tkinter
22   ];
24   # No tests
25   doCheck = false;
27   postInstall = ''
28     install -dm755 "$out/share/licenses/nvpy/"
29     install -m644 LICENSE.txt "$out/share/licenses/nvpy/LICENSE"
31     install -dm755 "$out/share/doc/nvpy/"
32     install -m644 README.rst "$out/share/doc/nvpy/README"
33   '';
35   meta = with pkgs.lib; {
36     description = "Simplenote-syncing note-taking tool inspired by Notational Velocity";
37     homepage = "https://github.com/cpbotha/nvpy";
38     platforms = platforms.linux;
39     license = licenses.bsd3;
40     mainProgram = "nvpy";
41   };