fltrdr: migrate to finalAttrs, use tag and SRI hash, add strictDeps and structuredAttrs

Assisted-by: Cursor Composer 2.5

fltrdr: migrate to by-name

Assisted-by: Cursor Composer 2.5
This commit is contained in:
Guy Chronister
2026-06-09 13:53:40 -05:00
parent edba38736b
commit c77b284a0e
2 changed files with 12 additions and 9 deletions
@@ -3,19 +3,26 @@
stdenv,
fetchFromGitHub,
cmake,
icu,
icu63,
openssl,
}:
stdenv.mkDerivation rec {
let
icu = icu63;
in
stdenv.mkDerivation (finalAttrs: {
pname = "fltrdr";
version = "0.3.1";
strictDeps = true;
__structuredAttrs = true;
src = fetchFromGitHub {
repo = "fltrdr";
owner = "octobanana";
rev = version;
sha256 = "1vpci7vqzcpdd21zgigyz38k77r9fc81dmiwsvfr8w7gad5sg6sj";
tag = finalAttrs.version;
hash = "sha256-UpunS1PvcJTd1jzWFhBzKZ8z0fj+xfeDaO2yj/eJ7O4=";
};
nativeBuildInputs = [ cmake ];
@@ -48,4 +55,4 @@ stdenv.mkDerivation rec {
maintainers = [ lib.maintainers.matthiasbeyer ];
mainProgram = "fltrdr";
};
}
})
-4
View File
@@ -2153,10 +2153,6 @@ with pkgs;
binutils = binutils-unwrapped;
};
fltrdr = callPackage ../tools/misc/fltrdr {
icu = icu63;
};
file = callPackage ../tools/misc/file {
inherit (windows) libgnurx;
};