3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/haxor-news/default.nix
Frederik Rietdijk 670c194dab haxor-news: 0.4.2 -> 0.4.3
For some reason tests are failing. Note they were already failing before
this update.
2017-12-31 13:55:27 +01:00

37 lines
712 B
Nix

{ stdenv, fetchurl, python }:
with python.pkgs;
buildPythonApplication rec {
pname = "haxor-news";
version = "0.4.3";
src = fetchPypi {
inherit pname version;
sha256 = "5b9af8338a0f8b95a8133b66ef106553823813ac171c0aefa3f3f2dbeb4d7f88";
};
propagatedBuildInputs = [
click
colorama
requests
pygments
prompt_toolkit
six
];
checkInputs = [ mock ];
checkPhase = ''
${python.interpreter} -m unittest discover -s tests -v
'';
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 ];
};
}