pesign: modernize

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

ghpzin 34dbfa42 f29bdc10

+7 -7
+7 -7
pkgs/by-name/pe/pesign/package.nix
··· 12 mandoc, 13 }: 14 15 - stdenv.mkDerivation rec { 16 pname = "pesign"; 17 version = "116"; 18 19 src = fetchFromGitHub { 20 owner = "rhboot"; 21 repo = "pesign"; 22 - rev = version; 23 hash = "sha256-cuOSD/ZHkilgguDFJviIZCG8kceRWw2JgssQuWN02Do="; 24 }; 25 ··· 59 rm -rf $out/run 60 ''; 61 62 - meta = with lib; { 63 description = "Signing tools for PE-COFF binaries. Compliant with the PE and Authenticode specifications"; 64 homepage = "https://github.com/rhboot/pesign"; 65 - license = licenses.gpl2Only; 66 - maintainers = with maintainers; [ raitobezarius ]; 67 # efivar is currently Linux-only. 68 - platforms = platforms.linux; 69 }; 70 - }
··· 12 mandoc, 13 }: 14 15 + stdenv.mkDerivation (finalAttrs: { 16 pname = "pesign"; 17 version = "116"; 18 19 src = fetchFromGitHub { 20 owner = "rhboot"; 21 repo = "pesign"; 22 + tag = finalAttrs.version; 23 hash = "sha256-cuOSD/ZHkilgguDFJviIZCG8kceRWw2JgssQuWN02Do="; 24 }; 25 ··· 59 rm -rf $out/run 60 ''; 61 62 + meta = { 63 description = "Signing tools for PE-COFF binaries. Compliant with the PE and Authenticode specifications"; 64 homepage = "https://github.com/rhboot/pesign"; 65 + license = lib.licenses.gpl2Only; 66 + maintainers = with lib.maintainers; [ raitobezarius ]; 67 # efivar is currently Linux-only. 68 + platforms = lib.platforms.linux; 69 }; 70 + })