mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
ego: init at 1.1.7
This commit is contained in:
parent
0546c70849
commit
06f8ee14c5
42
pkgs/tools/misc/ego/default.nix
Normal file
42
pkgs/tools/misc/ego/default.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, makeBinaryWrapper
|
||||
, acl
|
||||
, xorg
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "ego";
|
||||
version = "1.1.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "intgr";
|
||||
repo = "ego";
|
||||
rev = version;
|
||||
hash = "sha256-613RM7Ldye0wHAH3VMhzhyT5WVTybph3gS/WNMrsgGI=";
|
||||
};
|
||||
|
||||
buildInputs = [ acl ];
|
||||
|
||||
nativeBuildInputs = [ makeBinaryWrapper ];
|
||||
|
||||
cargoHash = "sha256-3leKejQ8kxamjwQPH1vg2I1CYc3r8k3pYfTWpOkqq8I=";
|
||||
|
||||
# requires access to /root
|
||||
checkFlags = [
|
||||
"--skip tests::test_check_user_homedir"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/ego --prefix PATH : ${lib.makeBinPath [ xorg.xhost ]}
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Run Linux desktop applications under a different local user";
|
||||
homepage = "https://github.com/intgr/ego";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ dit7ya ];
|
||||
mainProgram = "ego";
|
||||
};
|
||||
}
|
@ -5025,6 +5025,8 @@ with pkgs;
|
||||
|
||||
egglog = callPackage ../applications/science/logic/egglog { };
|
||||
|
||||
ego = callPackage ../tools/misc/ego { };
|
||||
|
||||
ekam = callPackage ../development/tools/build-managers/ekam { };
|
||||
|
||||
eksctl = callPackage ../tools/admin/eksctl { };
|
||||
|
Loading…
Reference in New Issue
Block a user