rtv: 1.4.2 -> 1.6.1

This commit is contained in:
wedens 2015-11-22 11:14:42 +06:00
parent a2aab3a224
commit 5cbc71c104
2 changed files with 9 additions and 8 deletions

View File

@ -1,25 +1,26 @@
{ stdenv, fetchFromGitHub, pkgs, python, pythonPackages }: { stdenv, fetchFromGitHub, pkgs, lib, python, pythonPackages }:
pythonPackages.buildPythonPackage rec { pythonPackages.buildPythonPackage rec {
version = "1.4.2"; version = "1.6.1";
name = "rtv-${version}"; name = "rtv-${version}";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "michael-lazar"; owner = "michael-lazar";
repo = "rtv"; repo = "rtv";
rev = "v${version}"; rev = "v${version}";
sha256 = "103ahwaaghxpih5bkbzqyqgxqmx6kc859vjla8fy8scg21cijghh"; sha256 = "0ywx4h37b25w36vln2ydpw73ysbbkpibp597cghsfn2izlaa0i02";
}; };
propagatedBuildInputs = with pythonPackages; [ propagatedBuildInputs = with pythonPackages; [
requests tornado
requests2
six six
praw praw
kitchen kitchen
python.modules.curses python.modules.curses
]; ] ++ lib.optional (!pythonPackages.isPy3k) futures;
meta = with stdenv.lib; { meta = with lib; {
homepage = https://github.com/michael-lazar/rtv; homepage = https://github.com/michael-lazar/rtv;
description = "Browse Reddit from your Terminal"; description = "Browse Reddit from your Terminal";
license = licenses.mit; license = licenses.mit;

View File

@ -695,7 +695,6 @@ let
url = "https://pypi.python.org/packages/source/a/atomiclong/atomiclong-${version}.tar.gz"; url = "https://pypi.python.org/packages/source/a/atomiclong/atomiclong-${version}.tar.gz";
sha256 = "1gjbc9lvpkgg8vj7dspif1gz9aq4flkhxia16qj6yvb7rp27h4yb"; sha256 = "1gjbc9lvpkgg8vj7dspif1gz9aq4flkhxia16qj6yvb7rp27h4yb";
}; };
buildInputs = with self; [ pytest ]; buildInputs = with self; [ pytest ];
propagatedBuildInputs = with self; [ cffi ]; propagatedBuildInputs = with self; [ cffi ];
@ -13049,7 +13048,7 @@ let
praw = buildPythonPackage rec { praw = buildPythonPackage rec {
name = "praw-3.1.0"; name = "praw-3.3.0";
src = pkgs.fetchurl { src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/p/praw/${name}.zip"; url = "https://pypi.python.org/packages/source/p/praw/${name}.zip";
@ -13057,6 +13056,7 @@ let
}; };
propagatedBuildInputs = with self; [ propagatedBuildInputs = with self; [
requests2
decorator decorator
flake8 flake8
mock mock