forked from mirrors/nixpkgs
ef4442e827
See f63eb58573
The `requests2` attribute now throws an error informing that `requests`
should be used instead.
29 lines
679 B
Nix
29 lines
679 B
Nix
{ 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 ];
|
|
};
|
|
|
|
}
|