2016-04-22 10:19:18 +00:00
|
|
|
{ stdenv, fetchurl, pythonPackages }:
|
|
|
|
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
2017-04-25 09:38:04 +00:00
|
|
|
version = "0.4.2";
|
2016-04-22 10:19:18 +00:00
|
|
|
name = "haxor-news-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2017-01-03 11:29:43 +00:00
|
|
|
url = "https://github.com/donnemartin/haxor-news/archive/${version}.tar.gz";
|
2017-04-25 09:38:04 +00:00
|
|
|
sha256 = "0543k5ys044f2a1q8k36djnnq2h2dffnwbkva9snjjy30nlwwdgs";
|
2016-04-22 10:19:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with pythonPackages; [
|
|
|
|
click
|
|
|
|
colorama
|
2017-05-07 10:55:45 +00:00
|
|
|
requests
|
2016-04-22 10:19:18 +00:00
|
|
|
pygments
|
2017-04-25 09:38:04 +00:00
|
|
|
prompt_toolkit
|
2016-04-22 10:19:18 +00:00
|
|
|
six
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = https://github.com/donnemartin/haxor-news;
|
2016-04-22 10:19:18 +00:00
|
|
|
description = "Browse Hacker News like a haxor";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ matthiasbeyer ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|