Merge pull request #150146 from wamserma/nvpy-py3-bump
nvpy: 0.9.7 -> 2.1.0
This commit is contained in:
commit
f9a24efe67
@ -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
|
||||
|
26
pkgs/development/python-modules/simplenote/default.nix
Normal file
26
pkgs/development/python-modules/simplenote/default.nix
Normal 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; [ ];
|
||||
};
|
||||
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user