Merge pull request #55670 from dotlambda/dateparser-0.7.1

python.pkgs.dateparser: 0.7.0 -> 0.7.1
This commit is contained in:
Frederik Rietdijk 2019-02-13 12:10:35 +01:00 committed by GitHub
commit b0e2f24050
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 15 deletions

View File

@ -14,11 +14,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dateparser"; pname = "dateparser";
version = "0.7.0"; version = "0.7.1";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "940828183c937bcec530753211b70f673c0a9aab831e43273489b310538dff86"; sha256 = "42d51be54e74a8e80a4d76d1fa6e4edd997098fce24ad2d94a2eab5ef247193e";
}; };
checkInputs = [ nose mock parameterized six glibcLocales ]; checkInputs = [ nose mock parameterized six glibcLocales ];

View File

@ -1,11 +1,10 @@
# dateparser tests fail on pyton37: https://github.com/NixOS/nixpkgs/issues/52766 { lib, python3, glibcLocales }:
{ lib, python36, glibcLocales }:
python36.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "homeassistant-cli"; pname = "homeassistant-cli";
version = "0.5.0"; version = "0.5.0";
src = python36.pkgs.fetchPypi { src = python3.pkgs.fetchPypi {
inherit pname version; inherit pname version;
sha256 = "4ad137d336508ab74840a34b3cc488ad884cc75285f5d7842544df1c3adacf8d"; sha256 = "4ad137d336508ab74840a34b3cc488ad884cc75285f5d7842544df1c3adacf8d";
}; };
@ -19,7 +18,7 @@ python36.pkgs.buildPythonApplication rec {
glibcLocales glibcLocales
]; ];
propagatedBuildInputs = with python36.pkgs; [ propagatedBuildInputs = with python3.pkgs; [
requests netdisco click click-log tabulate jsonpath_rw jinja2 dateparser regex ruamel_yaml aiohttp requests netdisco click click-log tabulate jsonpath_rw jinja2 dateparser regex ruamel_yaml aiohttp
]; ];
@ -31,7 +30,7 @@ python36.pkgs.buildPythonApplication rec {
$out/bin/hass-cli completion zsh > "$out/share/zsh/site-functions/_hass-cli" $out/bin/hass-cli completion zsh > "$out/share/zsh/site-functions/_hass-cli"
''; '';
checkInputs = with python36.pkgs; [ checkInputs = with python3.pkgs; [
pytest requests-mock pytest requests-mock
]; ];

View File

@ -1,8 +1,8 @@
{ lib, fetchFromGitHub, fetchpatch { lib, fetchFromGitHub, fetchpatch
, python36, xdg_utils , python3, xdg_utils
}: }:
python36.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "papis"; pname = "papis";
version = "0.7.5"; version = "0.7.5";
@ -20,7 +20,7 @@ python36.pkgs.buildPythonApplication rec {
sha256 = "0cmagfdaaml1pxhnxggifpb47z5g1p231qywnvnqpd3dm93382w1"; sha256 = "0cmagfdaaml1pxhnxggifpb47z5g1p231qywnvnqpd3dm93382w1";
}; };
propagatedBuildInputs = with python36.pkgs; [ propagatedBuildInputs = with python3.pkgs; [
click requests filetype pyparsing configparser click requests filetype pyparsing configparser
arxiv2bib pyyaml chardet beautifulsoup4 prompt_toolkit arxiv2bib pyyaml chardet beautifulsoup4 prompt_toolkit
bibtexparser python-slugify pyparser pylibgen bibtexparser python-slugify pyparser pylibgen
@ -33,7 +33,7 @@ python36.pkgs.buildPythonApplication rec {
install -Dt "$out/etc/bash_completion.d" scripts/shell_completion/build/bash/papis install -Dt "$out/etc/bash_completion.d" scripts/shell_completion/build/bash/papis
''; '';
checkInputs = (with python36.pkgs; [ checkInputs = (with python3.pkgs; [
pytest pytest
]) ++ [ ]) ++ [
xdg_utils xdg_utils

View File

@ -1791,9 +1791,7 @@ in
burp = callPackage ../tools/backup/burp { }; burp = callPackage ../tools/backup/burp { };
buku = callPackage ../applications/misc/buku { buku = callPackage ../applications/misc/buku { };
python3 = python36; # due to #52766
};
byzanz = callPackage ../applications/video/byzanz {}; byzanz = callPackage ../applications/video/byzanz {};