diff options
author | zimbatm <zimbatm@zimbatm.com> | 2016-11-26 16:27:56 +0000 |
---|---|---|
committer | zimbatm <zimbatm@zimbatm.com> | 2016-11-26 16:48:13 +0000 |
commit | 7f4e514a31602b32583eb5d37a095fe670ecc93d (patch) | |
tree | f50ec5ee1496c0d7cb9a340b502dea11864dd0f1 /pkgs/tools/security/su-exec | |
parent | 01172c2ccffd9f6cf646ec270ed5e4dbba48d166 (diff) | |
download | nixpkgs-7f4e514a31602b32583eb5d37a095fe670ecc93d.tar nixpkgs-7f4e514a31602b32583eb5d37a095fe670ecc93d.tar.gz nixpkgs-7f4e514a31602b32583eb5d37a095fe670ecc93d.tar.bz2 nixpkgs-7f4e514a31602b32583eb5d37a095fe670ecc93d.tar.lz nixpkgs-7f4e514a31602b32583eb5d37a095fe670ecc93d.tar.xz nixpkgs-7f4e514a31602b32583eb5d37a095fe670ecc93d.tar.zst nixpkgs-7f4e514a31602b32583eb5d37a095fe670ecc93d.zip |
su-exec: init at 0.2
Diffstat (limited to 'pkgs/tools/security/su-exec')
-rw-r--r-- | pkgs/tools/security/su-exec/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/security/su-exec/default.nix b/pkgs/tools/security/su-exec/default.nix new file mode 100644 index 00000000000..56e40d514bb --- /dev/null +++ b/pkgs/tools/security/su-exec/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchFromGitHub }: + +stdenv.mkDerivation rec { + name = "su-exec-${version}"; + version = "0.2"; + + src = fetchFromGitHub { + owner = "ncopa"; + repo = "su-exec"; + rev = "v${version}"; + sha256 = "12vqlnpv48cjfh25sn98k1myc7h2wiv5qw2y2awgp6sipzv88abv"; + }; + + installPhase = '' + mkdir -p $out/bin + cp -a su-exec $out/bin/su-exec + ''; + + meta = with stdenv.lib; { + description = "switch user and group id and exec"; + homepage = "https://github.com/ncopa/su-exec"; + license = licenses.mit; + maintainers = with maintainers; [ zimbatm ]; + platforms = platforms.linux; + }; +} |