xfel: 1.3.2 -> 1.3.3 (#437849)

This commit is contained in:
Peder Bergebakken Sundt
2025-09-01 02:16:40 +02:00
committed by GitHub
+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 = {