1 { lib, stdenv, fetchFromGitHub }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 hash = "sha256-eymE9r9Rm/u4El5wXHbkAh7ma5goWV0EdJIhsq+leIs=";
16 cp -a su-exec $out/bin/su-exec
20 description = "switch user and group id and exec";
21 mainProgram = "su-exec";
22 homepage = "https://github.com/ncopa/su-exec";
23 license = licenses.mit;
24 maintainers = with maintainers; [ zimbatm ];
25 platforms = platforms.linux;