termbg: use finalAttrs

kyehn 3e49627f 95b8a96f

+4 -4
+4 -4
pkgs/by-name/te/termbg/package.nix
··· 5 nix-update-script, 6 }: 7 8 - rustPlatform.buildRustPackage rec { 9 pname = "termbg"; 10 version = "0.6.2"; 11 12 src = fetchFromGitHub { 13 owner = "dalance"; 14 repo = "termbg"; 15 - tag = "v${version}"; 16 hash = "sha256-JVRl0BCuU6duFcFZr3Rs8dgS+ikwCKe5/z3JgjAikiw="; 17 }; 18 ··· 29 meta = { 30 description = "Program for terminal background color detection"; 31 homepage = "https://github.com/dalance/termbg"; 32 - changelog = "https://github.com/dalance/termbg/blob/${src.rev}/CHANGELOG.md"; 33 license = with lib.licenses; [ 34 mit 35 asl20 ··· 37 maintainers = with lib.maintainers; [ pinpox ]; 38 mainProgram = "termbg"; 39 }; 40 - }
··· 5 nix-update-script, 6 }: 7 8 + rustPlatform.buildRustPackage (finalAttrs: { 9 pname = "termbg"; 10 version = "0.6.2"; 11 12 src = fetchFromGitHub { 13 owner = "dalance"; 14 repo = "termbg"; 15 + tag = "v${finalAttrs.version}"; 16 hash = "sha256-JVRl0BCuU6duFcFZr3Rs8dgS+ikwCKe5/z3JgjAikiw="; 17 }; 18 ··· 29 meta = { 30 description = "Program for terminal background color detection"; 31 homepage = "https://github.com/dalance/termbg"; 32 + changelog = "https://github.com/dalance/termbg/blob/${finalAttrs.src.rev}/CHANGELOG.md"; 33 license = with lib.licenses; [ 34 mit 35 asl20 ··· 37 maintainers = with lib.maintainers; [ pinpox ]; 38 mainProgram = "termbg"; 39 }; 40 + })