about summary refs log tree commit diff
path: root/pkgs/applications/misc/haxor-news/default.nix
blob: 481e2107951828a143ee444cb26c1e2995c278c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ stdenv, fetchurl, pythonPackages }:

pythonPackages.buildPythonApplication rec {
  version = "0.4.2";
  name = "haxor-news-${version}";

  src = fetchurl {
    url = "https://github.com/donnemartin/haxor-news/archive/${version}.tar.gz";
    sha256 = "0543k5ys044f2a1q8k36djnnq2h2dffnwbkva9snjjy30nlwwdgs";
  };

  propagatedBuildInputs = with pythonPackages; [
    click
    colorama
    requests
    pygments
    prompt_toolkit
    six
  ];

  meta = with stdenv.lib; {
    homepage = "https://github.com/donnemartin/haxor-news";
    description = "Browse Hacker News like a haxor";
    license = licenses.asl20;
    maintainers = with maintainers; [ matthiasbeyer ];
  };

}