python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / misc / reredirect / default.nix
blob479c8ac28e543ac4850192645e75057009867a16
1 { lib, stdenv, fetchFromGitHub }:
3 stdenv.mkDerivation rec {
4   pname = "reredirect";
5   version = "0.3";
7   src = fetchFromGitHub {
8     owner = "jerome-pouiller";
9     repo = "reredirect";
10     rev = "v${version}";
11     sha256 = "sha256-RHRamDo7afnJ4DlOVAqM8lQAC60YESGSMKa8Io2vcX0=";
12   };
14   makeFlags = [ "PREFIX=${placeholder "out"}" ];
16   postFixup = ''
17     substituteInPlace ${placeholder "out"}/bin/relink \
18       --replace "reredirect" "${placeholder "out"}/bin/reredirect"
19   '';
21   meta = with lib; {
22     description = "Tool to dynamicly redirect outputs of a running process";
23     homepage = "https://github.com/jerome-pouiller/reredirect";
24     license = licenses.mit;
25     maintainers = [ maintainers.tobim ];
26     platforms = [ "i686-linux" "x86_64-linux" ];
27   };