Merge branch 'master' into staging-next
This commit is contained in:
@@ -8,7 +8,7 @@ buildPythonPackage rec {
|
||||
version = "2.39";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://launchpad.net/python-distutils-extra/trunk/${version}/+download/python-${pname}-${version}.tar.gz";
|
||||
url = "https://launchpad.net/python-distutils-extra/trunk/${version}/+download/python-${pname}-${version}.tar.gz";
|
||||
sha256 = "1bv3h2p9ffbzyddhi5sccsfwrm3i6yxzn0m06fdxkj2zsvs28gvj";
|
||||
};
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{ buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy37
|
||||
, lib
|
||||
, six
|
||||
, attrs
|
||||
@@ -25,6 +26,8 @@ buildPythonPackage rec {
|
||||
checkPhase = ''
|
||||
pytest .
|
||||
'';
|
||||
# Tests fails on python3.7 https://github.com/python-effect/effect/issues/78
|
||||
doCheck = !isPy37;
|
||||
meta = with lib; {
|
||||
description = "Pure effects for Python";
|
||||
homepage = https://github.com/python-effect/effect;
|
||||
|
||||
@@ -3,20 +3,29 @@
|
||||
, fetchPypi
|
||||
, dulwich
|
||||
, isPy3k
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hg-git";
|
||||
version = "0.8.11";
|
||||
version = "0.8.12";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "08kw1sj3sq1q1571hwkc51w20ks9ysmlg93pcnmd6gr66bz02dyn";
|
||||
sha256 = "13hbm0ki6s88r6p65ibvrbxnskinzdz0m9gsshb8s571p91ymfjn";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ dulwich ];
|
||||
|
||||
# Needs patch to work with Mercurial 4.8
|
||||
# https://bitbucket.org/durin42/hg-git/issues/264/unexpected-keyword-argument-createopts-hg
|
||||
patches =
|
||||
fetchpatch {
|
||||
url = "https://bitbucket.org/rsalmaso/hg-git/commits/a778506fd4be0bf1afa75755f6ee9260fa234a0f/raw";
|
||||
sha256 = "12r4qzbc5xcqwv0kvf8g4wjji7n45421zkbf6i75vyi4nl6n4j15";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Push and pull from a Git server using Mercurial";
|
||||
homepage = http://hg-git.github.com/;
|
||||
|
||||
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
patches = stdenv.lib.singleton (fetchurl {
|
||||
name = "libnotify07.patch";
|
||||
url = "http://src.fedoraproject.org/cgit/notify-python.git/plain/"
|
||||
url = "https://src.fedoraproject.org/cgit/notify-python.git/plain/"
|
||||
+ "libnotify07.patch?id2=289573d50ae4838a1658d573d2c9f4c75e86db0c";
|
||||
sha256 = "1lqdli13mfb59xxbq4rbq1f0znh6xr17ljjhwmzqb79jl3dig12z";
|
||||
});
|
||||
|
||||
@@ -1,16 +1,15 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, pytest, setuptools, structlog, pytest-asyncio, pytest_xdist, flaky, tornado }:
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, pytest, setuptools, structlog, pytest-asyncio, pytest_xdist, flaky, tornado, pycurl }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nvchecker";
|
||||
version = "1.1";
|
||||
version = "1.2.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1nk9ff26s5r6v5v7w4l9110qi5kmhllvwk5kh20zyyhdvxv72m3i";
|
||||
sha256 = "19qc2wwkdr701mx94r75ayq5h2jz3q620hcqaj2ng9qdgxm90940";
|
||||
};
|
||||
|
||||
# tornado is not present in the tarball setup.py but is required by the executable
|
||||
propagatedBuildInputs = [ setuptools structlog tornado ];
|
||||
propagatedBuildInputs = [ setuptools structlog tornado pycurl ];
|
||||
checkInputs = [ pytest pytest-asyncio pytest_xdist flaky ];
|
||||
|
||||
# Disable tests for now, because our version of pytest seems to be too new
|
||||
|
||||
@@ -87,6 +87,8 @@ in buildPythonPackage rec {
|
||||
"test_clipboard"
|
||||
]);
|
||||
|
||||
doCheck = !stdenv.isAarch64; # upstream doesn't test this architecture
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
''
|
||||
|
||||
@@ -11,11 +11,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "plotly";
|
||||
version = "3.3.0";
|
||||
version = "3.4.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1bsjk4crf9p08lmgmiibmk8w8kmlrfadyly5l12zz1d330acijl1";
|
||||
sha256 = "1pq5k1b4gwdbdsb0alzgmr54zjvzf0csw5lq8s61zh5jnhfgn23y";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "py4j";
|
||||
|
||||
version = "0.10.7";
|
||||
version = "0.10.8.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension= "zip";
|
||||
sha256 = "721189616b3a7d28212dfb2e7c6a1dd5147b03105f1fc37ff2432acd0e863fa5";
|
||||
sha256 = "0x52rjn2s44mbpk9p497p3yba9xnpl6hcaiacklppwqcd8avnac3";
|
||||
};
|
||||
|
||||
# No tests in archive
|
||||
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
md5_path = "f6d33a8362dee358517d0a9e2ebdd044";
|
||||
|
||||
src = pkgs.fetchurl rec {
|
||||
url = "http://src.fedoraproject.org/repo/pkgs/python-pyblock/"
|
||||
url = "https://src.fedoraproject.org/repo/pkgs/python-pyblock/"
|
||||
+ "${name}.tar.bz2/${md5_path}/${name}.tar.bz2";
|
||||
sha256 = "f6cef88969300a6564498557eeea1d8da58acceae238077852ff261a2cb1d815";
|
||||
};
|
||||
|
||||
@@ -6,7 +6,7 @@ buildPythonPackage rec {
|
||||
format = "other";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://launchpad.net/pyexiv2/0.3.x/0.3.2/+download/${pname}-${version}.tar.bz2";
|
||||
url = "https://launchpad.net/pyexiv2/0.3.x/0.3.2/+download/${pname}-${version}.tar.bz2";
|
||||
sha256 = "09r1ga6kj5cnmrldpkqzvdhh7xi7aad9g4fbcr1gawgsd9y13g0a";
|
||||
};
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ buildPythonPackage rec {
|
||||
md5_path = "d249f60aa89b1b4facd63f776925116d";
|
||||
|
||||
src = fetchurl rec {
|
||||
url = "http://src.fedoraproject.org/repo/pkgs/pykickstart/"
|
||||
url = "https://src.fedoraproject.org/repo/pkgs/pykickstart/"
|
||||
+ "${pname}-${version}.tar.gz/${md5_path}/${pname}-${version}.tar.gz";
|
||||
sha256 = "e0d0f98ac4c5607e6a48d5c1fba2d50cc804de1081043f9da68cbfc69cad957a";
|
||||
};
|
||||
|
||||
@@ -1,21 +1,26 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchFromGitHub
|
||||
, python
|
||||
, nose2
|
||||
, cython
|
||||
, proj ? null
|
||||
}:
|
||||
|
||||
buildPythonPackage (rec {
|
||||
pname = "pyproj";
|
||||
version = "1.9.5.1";
|
||||
version = "unstable-2018-11-13";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "53fa54c8fa8a1dfcd6af4bf09ce1aae5d4d949da63b90570ac5ec849efaf3ea8";
|
||||
src = fetchFromGitHub {
|
||||
owner = "jswhit";
|
||||
repo = pname;
|
||||
rev = "78540f5ff40da92160f80860416c91ee74b7643c";
|
||||
sha256 = "1vq5smxmpdjxialxxglsfh48wx8kaq9sc5mqqxn4fgv1r5n1m3n9";
|
||||
};
|
||||
|
||||
buildInputs = [ nose2 ];
|
||||
buildInputs = [ cython ];
|
||||
|
||||
checkInputs = [ nose2 ];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
||||
21
pkgs/development/python-modules/sdnotify/default.nix
Normal file
21
pkgs/development/python-modules/sdnotify/default.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sdnotify";
|
||||
version = "0.3.2";
|
||||
|
||||
src = fetchPypi {
|
||||
sha256 = "1wdrdg2j16pmqhk0ify20s5pngijh7zc6hyxhh8w8v5k8v3pz5vk";
|
||||
inherit pname version;
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A pure Python implementation of systemd's service notification protocol";
|
||||
homepage = https://github.com/bb4242/sdnotify;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ pmiddend ];
|
||||
};
|
||||
}
|
||||
41
pkgs/development/python-modules/sievelib/default.nix
Normal file
41
pkgs/development/python-modules/sievelib/default.nix
Normal file
@@ -0,0 +1,41 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, fetchpatch, mock
|
||||
, future, six, setuptools_scm }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sievelib";
|
||||
version = "1.1.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1sl1fnwr5jdacrrnq2rvzh4vv1dyxd3x31vnqga36gj8h546h7mz";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/tonioo/sievelib/commit/1deef0e2bf039a0e817ea6f19aaf1947dc9fafbc.patch";
|
||||
sha256 = "0vaj73mcij9dism8vfaai82irh8j1b2n8gf9jl1a19d2l26jrflk";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [ setuptools_scm ];
|
||||
propagatedBuildInputs = [ future six ];
|
||||
checkInputs = [ mock ];
|
||||
|
||||
meta = {
|
||||
description = "Client-side Sieve and Managesieve library written in Python";
|
||||
homepage = https://github.com/tonioo/sievelib;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ leenaars ];
|
||||
longDescription = ''
|
||||
A library written in Python that implements RFC 5228 (Sieve: An Email
|
||||
Filtering Language) and RFC 5804 (ManageSieve: A Protocol for
|
||||
Remotely Managing Sieve Scripts), as well as the following extensions:
|
||||
|
||||
* Copying Without Side Effects (RFC 3894)
|
||||
* Body (RFC 5173)
|
||||
* Date and Index (RFC 5260)
|
||||
* Vacation (RFC 5230)
|
||||
* Imap4flags (RFC 5232)
|
||||
'';
|
||||
};
|
||||
}
|
||||
20
pkgs/development/python-modules/simplekml/default.nix
Normal file
20
pkgs/development/python-modules/simplekml/default.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{ lib , buildPythonPackage , fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "simplekml";
|
||||
version = "1.3.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "30c121368ce1d73405721730bf766721e580cae6fbb7424884c734c89ec62ad7";
|
||||
};
|
||||
|
||||
doCheck = false; # no tests are defined in 1.3.1
|
||||
|
||||
meta = with lib; {
|
||||
description = "Generate KML with as little effort as possible";
|
||||
homepage = https://readthedocs.org/projects/simplekml/;
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = with maintainers; [ rvolosatovs ];
|
||||
};
|
||||
}
|
||||
17
pkgs/development/python-modules/yattag/default.nix
Normal file
17
pkgs/development/python-modules/yattag/default.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{ lib, stdenv, buildPythonPackage, fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "yattag";
|
||||
version = "1.10.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0r3pwfygvpkgc0hzxc6z8dl56g6brlh52r0x8kcjhywr1biahqb2";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Generate HTML or XML in a pythonic way. Pure python alternative to web template engines. Can fill HTML forms with default values and error messages.";
|
||||
license = [ licenses.lgpl21 ];
|
||||
homepage = http://www.yattag.org/;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user