xfel: 1.3.2 -> 1.3.3

Diff: https://github.com/xboot/xfel/compare/v1.3.2...v1.3.3
This commit is contained in:
kyehn
2025-08-29 03:39:36 +08:00
parent ebe3396323
commit 101dda374a
+9 -7
View File
@@ -8,24 +8,26 @@
stdenv.mkDerivation (finalAttrs: {
pname = "xfel";
version = "1.3.2";
version = "1.3.3";
src = fetchFromGitHub {
owner = "xboot";
repo = "xfel";
tag = "v${finalAttrs.version}";
hash = "sha256-fmf+jqCWC7RaLknr/TyRV6VQz4+fp83ynHNk2ACkyfQ=";
hash = "sha256-5Io2qOIeGovDpbxSlmqtGMrGMxUjMu/e1304euTEtJc=";
};
postPatch = ''
substituteInPlace Makefile \
--replace-fail "/usr/local" "$out" \
--replace-fail "/etc" "$out/etc" \
--replace-fail "/usr/share" "$out/share"
'';
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libusb1 ];
makeFlags = [
"DESTDIR=$(out)"
"PREFIX=/"
];
doInstallCheck = true;
meta = {