Merge pull request #38738 from mguentner/i3pystatus_unstable

i3pystatus: 3.35 -> unstable
This commit is contained in:
Jörg Thalheim
2018-04-17 21:57:39 +01:00
committed by GitHub
3 changed files with 22 additions and 10 deletions

View File

@@ -17,7 +17,9 @@ buildPythonPackage rec {
propagatedBuildInputs = [ entrypoints ] ++ stdenv.lib.optional stdenv.isLinux secretstorage;
doCheck = !stdenv.isDarwin;
# all tests with flake8 are broken right now
# https://github.com/tholo/pytest-flake8/issues/45
doCheck = false;
checkPhase = ''
py.test

View File

@@ -5,15 +5,20 @@
buildPythonPackage rec {
pname = "praw";
version = "5.2.0";
version = "5.4.0";
src = fetchFromGitHub {
owner = "praw-dev";
repo = "praw";
rev = "v${version}";
sha256 = "0nwfadczxa1fyq65zc3sfv8g2r4w3xrx3bdi5fv9xpn97wh2ifgw";
sha256 = "13vbh2r952ai2m6sc79psfwaj5fc8cssdg2pqpizg2mwd0l1s6lb";
};
postPatch = ''
# drop upper bound of prawcore requirement
sed -ri "s/'(prawcore >=.+), <.+'/'\1'/" setup.py
'';
propagatedBuildInputs = [
requests
decorator