summary refs log tree commit diff
path: root/pkgs/applications/misc/haxor-news/default.nix
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2016-04-22 12:19:18 +0200
committerMatthias Beyer <mail@beyermatthias.de>2016-04-23 13:55:55 +0200
commit5fdc54387e03b0bf626da8c7f704d4335f2d911b (patch)
tree5468ab837dac7b415e2ba27b8a35eb03e3e009e4 /pkgs/applications/misc/haxor-news/default.nix
parenta05ba7375d6b6f31b36d3cf36006bdcdadde06b7 (diff)
downloadnixpkgs-5fdc54387e03b0bf626da8c7f704d4335f2d911b.tar
nixpkgs-5fdc54387e03b0bf626da8c7f704d4335f2d911b.tar.gz
nixpkgs-5fdc54387e03b0bf626da8c7f704d4335f2d911b.tar.bz2
nixpkgs-5fdc54387e03b0bf626da8c7f704d4335f2d911b.tar.lz
nixpkgs-5fdc54387e03b0bf626da8c7f704d4335f2d911b.tar.xz
nixpkgs-5fdc54387e03b0bf626da8c7f704d4335f2d911b.tar.zst
nixpkgs-5fdc54387e03b0bf626da8c7f704d4335f2d911b.zip
haxor-news: init at 0.3.1
Diffstat (limited to 'pkgs/applications/misc/haxor-news/default.nix')
-rw-r--r--pkgs/applications/misc/haxor-news/default.nix28
1 files changed, 28 insertions, 0 deletions
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 ];
+  };
+
+}