zzuf: modernize

- replace `rec` with `finalAttrs`
- remove `with lib;` from `meta`
- replace `rev` with `tag` in `src`
- replace `sha256` with `hash` in `src`

ghpzin 7e404eb4 7eb5d48a

+8 -8
+8 -8
pkgs/by-name/zz/zzuf/package.nix
··· 7 7 autoreconfHook, 8 8 }: 9 9 10 - stdenv.mkDerivation rec { 10 + stdenv.mkDerivation (finalAttrs: { 11 11 pname = "zzuf"; 12 12 version = "0.15"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "samhocevar"; 16 16 repo = "zzuf"; 17 - rev = "v${version}"; 18 - sha256 = "0li1s11xf32dafxq1jbnc8c63313hy9ry09dja2rymk9mza4x2n9"; 17 + tag = "v${finalAttrs.version}"; 18 + hash = "sha256-yYpO1K9pVp+Fki0Bn5OHI4xhGGJ2yYC7U00M10PQIVI="; 19 19 }; 20 20 21 21 patches = [ ··· 34 34 autoreconfHook 35 35 ]; 36 36 37 - meta = with lib; { 37 + meta = { 38 38 description = "Transparent application input fuzzer"; 39 39 homepage = "http://caca.zoy.org/wiki/zzuf"; 40 - license = licenses.wtfpl; 41 - platforms = platforms.linux; 42 - maintainers = with maintainers; [ lihop ]; 40 + license = lib.licenses.wtfpl; 41 + platforms = lib.platforms.linux; 42 + maintainers = with lib.maintainers; [ lihop ]; 43 43 }; 44 - } 44 + })