about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/misc/with-shell/default.nix
blob: daf697c16614ff067424df73e163fb81a938a6f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ lib, 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 = lib.licenses.asl20;
    platforms = lib.platforms.unix;
  };
}