summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorJoachim Schiele <js@lastlog.de>2012-03-28 13:21:42 +0000
committerJoachim Schiele <js@lastlog.de>2012-03-28 13:21:42 +0000
commit37e67f9888ef832acdf4e577478115ce7d233182 (patch)
tree58693cff2d431838a027763703e122cf91a4cb12 /pkgs
parenta6238bce68f5b76062f949e7854899f17d900c75 (diff)
downloadnixpkgs-37e67f9888ef832acdf4e577478115ce7d233182.tar
nixpkgs-37e67f9888ef832acdf4e577478115ce7d233182.tar.gz
nixpkgs-37e67f9888ef832acdf4e577478115ce7d233182.tar.bz2
nixpkgs-37e67f9888ef832acdf4e577478115ce7d233182.tar.lz
nixpkgs-37e67f9888ef832acdf4e577478115ce7d233182.tar.xz
nixpkgs-37e67f9888ef832acdf4e577478115ce7d233182.tar.zst
nixpkgs-37e67f9888ef832acdf4e577478115ce7d233182.zip
wgetpaste is a handy shell utility getting things pasted on pasting services online
svn path=/nixpkgs/trunk/; revision=33450
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/text/wgetpaste/default.nix26
-rw-r--r--pkgs/top-level/all-packages.nix6
2 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/tools/text/wgetpaste/default.nix b/pkgs/tools/text/wgetpaste/default.nix
new file mode 100644
index 00000000000..c9993ec4282
--- /dev/null
+++ b/pkgs/tools/text/wgetpaste/default.nix
@@ -0,0 +1,26 @@
+{stdenv, fetchurl, wget, bash, coreutils}:
+  stdenv.mkDerivation rec {
+    version = "2.18";
+    name = "wgetpaste-${version}";
+      src = fetchurl {
+        url = "http://wgetpaste.zlin.dk/${name}.tar.bz2";
+        sha256 = "95ee46eac37ca74ce960c1726afc19f4a1dde4d1875ac860fdc5e45d3cb05d3e";
+    };
+    # currently zsh-autocompletion support is not installed
+
+    prePatch = ''
+      substituteInPlace wgetpaste --replace "/usr/bin/env bash" "${bash}/bin/bash"
+    '';
+
+    installPhase = ''
+      mkdir -p $out/bin;
+      cp wgetpaste $out/bin;
+    '';
+
+    meta = {
+      description = "wgetpaste";
+      homepage = http://wgetpaste.zlin.dk/;
+      license = "publicDomain";
+      maintainers = with stdenv.lib.maintainers; [qknight];
+    };
+  }
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 1299081d516..130a70d8ce4 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -606,6 +606,8 @@ let
 
   diffutils = callPackage ../tools/text/diffutils { };
 
+  wgetpaste = callPackage ../tools/text/wgetpaste { };
+
   dirmngr = callPackage ../tools/security/dirmngr { };
 
   disper = callPackage ../tools/misc/disper { };
@@ -7481,6 +7483,10 @@ let
 
   virtviewer = callPackage ../applications/virtualization/virt-viewer {};
 
+  virtmanager = callPackage ../applications/virtualization/virt-manager {};
+
+  virtinst = callPackage ../applications/virtualization/virtinst {};
+
   virtualgl = callPackage ../tools/X11/virtualgl { };
 
   bumblebee = callPackage ../tools/X11/bumblebee { };