ego: 1.1.7 -> 1.2.0 (#478036)
This commit is contained in:
@@ -4,33 +4,43 @@
|
||||
fetchFromGitHub,
|
||||
makeBinaryWrapper,
|
||||
acl,
|
||||
libxcb,
|
||||
xhost,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "ego";
|
||||
version = "1.1.7";
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "intgr";
|
||||
repo = "ego";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-613RM7Ldye0wHAH3VMhzhyT5WVTybph3gS/WNMrsgGI=";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-TO0jyi6XGPfuF7s4vTV8uT43SjCGUx6cVZONyb5e93Q=";
|
||||
};
|
||||
|
||||
buildInputs = [ acl ];
|
||||
buildInputs = [
|
||||
acl
|
||||
libxcb
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ makeBinaryWrapper ];
|
||||
|
||||
cargoHash = "sha256-GwWDH3np/YKUx7BLmKxUui2CXLYbHjivWC1av9jaccA=";
|
||||
cargoHash = "sha256-MmcZrjjNvc3C/RRMCQsuaJT4sf+gTAaxVDtKGHjKqc8=";
|
||||
|
||||
# requires access to /root
|
||||
checkFlags = [
|
||||
"--skip=tests::test_check_user_homedir"
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export LD_LIBRARY_PATH="${lib.makeLibraryPath [ libxcb ]}:$LD_LIBRARY_PATH"
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/ego --prefix PATH : ${lib.makeBinPath [ xhost ]}
|
||||
wrapProgram $out/bin/ego \
|
||||
--prefix PATH : ${lib.makeBinPath [ xhost ]} \
|
||||
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libxcb ]}
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user