diff options
author | Tobias Mayer <tobim@fastmail.fm> | 2019-06-08 18:00:37 +0200 |
---|---|---|
committer | Tobias Mayer <tobim@fastmail.fm> | 2019-12-29 18:19:10 +0100 |
commit | 3617fdf73bf9a29c19aaf3d55bd0ff22df9eeda9 (patch) | |
tree | 8314961a4784536f9962b287da663de35eeb6ff5 /pkgs/tools/misc/reredirect | |
parent | b0bbacb52134a7e731e549f4c0a7a2a39ca6b481 (diff) |
reredirect: init at 0.2
Diffstat (limited to 'pkgs/tools/misc/reredirect')
-rw-r--r-- | pkgs/tools/misc/reredirect/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/tools/misc/reredirect/default.nix b/pkgs/tools/misc/reredirect/default.nix new file mode 100644 index 0000000000000..15045d4bd8ad1 --- /dev/null +++ b/pkgs/tools/misc/reredirect/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchFromGitHub }: + +stdenv.mkDerivation rec { + pname = "reredirect"; + version = "0.2"; + + src = fetchFromGitHub { + owner = "jerome-pouiller"; + repo = "reredirect"; + rev = "v${version}"; + sha256 = "0aqzs940kwvw80lhkszx8spcdh9ilsx5ncl9vnp611hwlryfw7kk"; + }; + + makeFlags = [ "PREFIX=${placeholder "out"}" ]; + + postFixup = '' + substituteInPlace ${placeholder "out"}/bin/relink \ + --replace "reredirect" "${placeholder "out"}/bin/reredirect" + ''; + + meta = with stdenv.lib; { + description = "Tool to dynamicly redirect outputs of a running process"; + homepage = "https://github.com/jerome-pouiller/reredirect"; + license = licenses.mit; + maintainers = [ maintainers.tobim ]; + platforms = [ "i686-linux" "x86_64-linux" ]; + }; +} + |