Merge pull request #150146 from wamserma/nvpy-py3-bump

nvpy: 0.9.7 -> 2.1.0
This commit is contained in:
Jörg Thalheim 2021-12-11 15:26:55 +00:00 committed by GitHub
commit f9a24efe67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 39 additions and 7 deletions

View File

@ -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

View File

@ -0,0 +1,26 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "simplenote";
version = "2.1.4";
src = fetchFromGitHub {
owner = "simplenote-vim";
repo = "simplenote.py";
rev = "v${version}";
sha256 = "1grvvgzdybhxjydalnsgh2aaz3f48idv5lqs48gr0cn7n18xwhd5";
};
propagatedBuildInputs = [ ];
meta = with lib; {
description = "A python library for the simplenote.com web service";
homepage = "http://readthedocs.org/docs/simplenotepy/en/latest/api.html";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}

View File

@ -8745,6 +8745,8 @@ in {
simplekml = callPackage ../development/python-modules/simplekml { };
simplenote = callPackage ../development/python-modules/simplenote { };
simple-di = callPackage ../development/python-modules/simple-di { };
simple-rest-client = callPackage ../development/python-modules/simple-rest-client { };