From 30f8a050ae7bc842722581e038174a01c43113c4 Mon Sep 17 00:00:00 2001 From: Anthony Cowley Date: Sat, 20 Aug 2016 15:12:10 -0400 Subject: [PATCH] with: init at 2016-08-20 Adds the "with" shell helper application. --- pkgs/applications/misc/with-shell/default.nix | 20 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 pkgs/applications/misc/with-shell/default.nix diff --git a/pkgs/applications/misc/with-shell/default.nix b/pkgs/applications/misc/with-shell/default.nix new file mode 100644 index 000000000000..d3b5541ac4db --- /dev/null +++ b/pkgs/applications/misc/with-shell/default.nix @@ -0,0 +1,20 @@ +{ stdenv, fetchFromGitHub }: +stdenv.mkDerivation { + name = "with-2016-08-20"; + src = fetchFromGitHub { + owner = "mchav"; + repo = "With"; + rev = "cc2828bddd92297147d4365765f4ef36385f050a"; + sha256 = "10m2xv6icrdp6lfprw3a9hsrzb3bip19ipkbmscap0niddqgcl9b"; + }; + installPhase = '' + mkdir -p $out/bin + cp with $out/bin/with + ''; + meta = { + homepage = "https://github.com/mchav/With"; + description = "Command prefixing for continuous workflow using a single tool"; + license = stdenv.lib.licenses.asl20; + platforms = stdenv.lib.platforms.unix; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index be823f2dfbed..e850df7370dd 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17519,6 +17519,8 @@ in inherit (gnome2) zenity; }; + with-shell = callPackage ../applications/misc/with-shell { }; + wmutils-core = callPackage ../tools/X11/wmutils-core { }; wraith = callPackage ../applications/networking/irc/wraith { };