papis: use python36

dateparser tests fail on python37:
https://github.com/NixOS/nixpkgs/issues/52766
This commit is contained in:
Robert Schütz 2019-01-31 19:40:49 +01:00
parent 5447f7028b
commit 07664bcbe4

View File

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