From 5fdc54387e03b0bf626da8c7f704d4335f2d911b Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Fri, 22 Apr 2016 12:19:18 +0200 Subject: haxor-news: init at 0.3.1 --- pkgs/applications/misc/haxor-news/default.nix | 28 +++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pkgs/applications/misc/haxor-news/default.nix (limited to 'pkgs/applications') diff --git a/pkgs/applications/misc/haxor-news/default.nix b/pkgs/applications/misc/haxor-news/default.nix new file mode 100644 index 00000000000..e4074547d78 --- /dev/null +++ b/pkgs/applications/misc/haxor-news/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchurl, pythonPackages }: + +pythonPackages.buildPythonApplication rec { + version = "0.3.1"; + name = "haxor-news-${version}"; + + src = fetchurl { + url = "https://github.com/donnemartin/haxor-news/archive/0.3.1.tar.gz"; + sha256 = "0jglx8fy38sjyszvvg7mvmyk66l53kyq4i09hmgdz7hb1hrm9m2m"; + }; + + propagatedBuildInputs = with pythonPackages; [ + click + colorama + requests2 + pygments + prompt_toolkit_52 + 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 ]; + }; + +} -- cgit 1.4.1