summary refs log tree commit diff
path: root/pkgs/applications/misc/vifm
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2011-08-10 19:16:27 +0000
committerMichael Raskin <7c6f434c@mail.ru>2011-08-10 19:16:27 +0000
commit5996c749aa5b8bed8a28391a6aebd043d77ffeed (patch)
tree2c2de3efa7ca774de7c8596e6e04741f5b6497e3 /pkgs/applications/misc/vifm
parent72df4ed20971c943fbc7aa1df75ef87b30e59d1d (diff)
downloadnixpkgs-5996c749aa5b8bed8a28391a6aebd043d77ffeed.tar
nixpkgs-5996c749aa5b8bed8a28391a6aebd043d77ffeed.tar.gz
nixpkgs-5996c749aa5b8bed8a28391a6aebd043d77ffeed.tar.bz2
nixpkgs-5996c749aa5b8bed8a28391a6aebd043d77ffeed.tar.lz
nixpkgs-5996c749aa5b8bed8a28391a6aebd043d77ffeed.tar.xz
nixpkgs-5996c749aa5b8bed8a28391a6aebd043d77ffeed.tar.zst
nixpkgs-5996c749aa5b8bed8a28391a6aebd043d77ffeed.zip
Adding vifm file manager
svn path=/nixpkgs/trunk/; revision=28466
Diffstat (limited to 'pkgs/applications/misc/vifm')
-rw-r--r--pkgs/applications/misc/vifm/default.nix48
1 files changed, 48 insertions, 0 deletions
diff --git a/pkgs/applications/misc/vifm/default.nix b/pkgs/applications/misc/vifm/default.nix
new file mode 100644
index 00000000000..6f270f5c7cf
--- /dev/null
+++ b/pkgs/applications/misc/vifm/default.nix
@@ -0,0 +1,48 @@
+x@{builderDefsPackage
+  , ncurses
+  , ...}:
+builderDefsPackage
+(a :  
+let 
+  helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++ 
+    [];
+
+  buildInputs = map (n: builtins.getAttr n x)
+    (builtins.attrNames (builtins.removeAttrs x helperArgNames));
+  sourceInfo = rec {
+    baseName="vifm";
+    version="0.6.3";
+    name="${baseName}-${version}";
+    url="mirror://sourceforge/project/${baseName}/${baseName}/${name}.tar.bz2";
+    hash="1v5kiifjk7iyqrzjd94wn6a5dz4j3krl06pbp1ps9g3zdq2w2skv";
+  };
+in
+rec {
+  src = a.fetchurl {
+    url = sourceInfo.url;
+    sha256 = sourceInfo.hash;
+  };
+
+  inherit (sourceInfo) name version;
+  inherit buildInputs;
+
+  /* doConfigure should be removed if not needed */
+  phaseNames = ["doConfigure" "doMakeInstall"];
+      
+  meta = {
+    description = "A vi-like file manager";
+    maintainers = with a.lib.maintainers;
+    [
+      raskin
+    ];
+    platforms = with a.lib.platforms;
+      linux;
+    license = a.lib.licenses.gpl2;
+  };
+  passthru = {
+    updateInfo = {
+      downloadPage = "http://vifm.sf.net";
+    };
+  };
+}) x
+