about summary refs log tree commit diff
path: root/pkgs/applications/editors/nvpy
diff options
context:
space:
mode:
authorMarkus S. Wamser <github-dev@mail2013.wamser.eu>2021-12-10 23:00:35 +0100
committerMarkus S. Wamser <github-dev@mail2013.wamser.eu>2021-12-10 23:00:35 +0100
commitf39be50a5fbf108863fa081b642a66a3a4032f41 (patch)
tree1c216605ec94fd44f6a9eb814720326307ba8339 /pkgs/applications/editors/nvpy
parentb58a5014130278106964e74aba998f3ae39c95e8 (diff)
nvpy: 0.9.7 -> 2.1.0, switch to Python3
Diffstat (limited to 'pkgs/applications/editors/nvpy')
-rw-r--r--pkgs/applications/editors/nvpy/default.nix18
1 files changed, 11 insertions, 7 deletions
diff --git a/pkgs/applications/editors/nvpy/default.nix b/pkgs/applications/editors/nvpy/default.nix
index dcf42b55c5c59..99e4992576783 100644
--- a/pkgs/applications/editors/nvpy/default.nix
+++ b/pkgs/applications/editors/nvpy/default.nix
@@ -1,20 +1,24 @@
-{ pkgs, fetchurl, python2Packages }:
+{ pkgs, fetchFromGitHub, python3Packages }:
 
 let
-  pythonPackages = python2Packages;
+  pythonPackages = python3Packages;
 in pythonPackages.buildPythonApplication rec {
-  version = "0.9.7";
+  version = "2.1.0";
   pname = "nvpy";
 
-  src = fetchurl {
-    url = "https://github.com/cpbotha/nvpy/archive/v${version}.tar.gz";
-    sha256 = "1rd3vlaqkg16iz6qcw6rkbq0jmyvc0843wa3brnvn1nz0kla243f";
+  src = fetchFromGitHub {
+    owner = "cpbotha";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "02njvybd8yaqdnc5ghwrm8225z57gg4w7rhmx3w5jqzh16ld4mhh";
   };
 
+
   propagatedBuildInputs = with pythonPackages; [
     markdown
-    tkinter
     docutils
+    simplenote
+    tkinter
   ];
 
   # No tests