From 5fdc54387e03b0bf626da8c7f704d4335f2d911b Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Fri, 22 Apr 2016 12:19:18 +0200 Subject: [PATCH] haxor-news: init at 0.3.1 --- pkgs/applications/misc/haxor-news/default.nix | 28 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/applications/misc/haxor-news/default.nix diff --git a/pkgs/applications/misc/haxor-news/default.nix b/pkgs/applications/misc/haxor-news/default.nix new file mode 100644 index 000000000000..e4074547d781 --- /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 ]; + }; + +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b8a736420553..8fddd44cdede 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7128,6 +7128,8 @@ in hawknl = callPackage ../development/libraries/hawknl { }; + haxor-news = callPackage ../applications/misc/haxor-news { }; + herqq = callPackage ../development/libraries/herqq { }; heyefi = self.haskellPackages.heyefi;