mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #20736 from zimbatm/su-exec-0.2
su-exec: init at 0.2
This commit is contained in:
commit
b8019981a6
2 changed files with 28 additions and 0 deletions
26
pkgs/tools/security/su-exec/default.nix
Normal file
26
pkgs/tools/security/su-exec/default.nix
Normal file
|
@ -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;
|
||||
};
|
||||
}
|
|
@ -3756,6 +3756,8 @@ in
|
|||
|
||||
sstp = callPackage ../tools/networking/sstp {};
|
||||
|
||||
su-exec = callPackage ../tools/security/su-exec {};
|
||||
|
||||
subsurface =
|
||||
qt55.callPackage ../applications/misc/subsurface {
|
||||
libgit2 = pkgs.libgit2_0_23;
|
||||
|
|
Loading…
Reference in a new issue