From 85372d5fba8cbe85326801a336f5919e0ed64d27 Mon Sep 17 00:00:00 2001 From: Song Wenwu Date: Thu, 12 Dec 2013 11:04:38 +0800 Subject: [PATCH] add ranger 1.6.1 --- pkgs/applications/misc/ranger/default.nix | 22 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/applications/misc/ranger/default.nix diff --git a/pkgs/applications/misc/ranger/default.nix b/pkgs/applications/misc/ranger/default.nix new file mode 100644 index 000000000000..5f75c05a68f3 --- /dev/null +++ b/pkgs/applications/misc/ranger/default.nix @@ -0,0 +1,22 @@ +{ stdenv, buildPythonPackage, python, fetchurl }: + +buildPythonPackage { + name = "ranger-1.6.1"; + + meta = { + description = "File manager with minimalistic curses interface"; + homepage = "http://ranger.nongnu.org/"; + license = stdenv.lib.licenses.gpl3; + platforms = stdenv.lib.platforms.linux; + maintainers = with stdenv.lib.maintainers; [ iyzsong ]; + }; + + src = fetchurl { + url = "http://ranger.nongnu.org/ranger-1.6.1.tar.gz"; + sha256 = "0pnvfwk2a1p35246fihm3fsr1m7r2njirbxm28ba276psajk1cnc"; + }; + + doCheck = false; + + propagatedBuildInputs = with python.modules; [ curses ]; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3f9f1ccf0470..5ada4859ac1a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1672,6 +1672,8 @@ let radvd = callPackage ../tools/networking/radvd { }; + ranger = callPackage ../applications/misc/ranger { }; + privateer = callPackage ../games/privateer { }; rtmpdump = callPackage ../tools/video/rtmpdump { };