diff options
author | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-04-29 08:57:40 -0300 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-04-29 13:00:41 -0300 |
commit | 99fa5c68cab8434d6eabe500d588f00898587ddb (patch) | |
tree | 0f34402d4bc079e2dcdaa2268d81f6c9f73c09ea /pkgs/tools/text/txr | |
parent | c307bf0d0ac259eed5e1391df11423cd49a72d07 (diff) |
txr: cosmetic patch
- Rewrite input set - Remove nested `with lib`
Diffstat (limited to 'pkgs/tools/text/txr')
-rw-r--r-- | pkgs/tools/text/txr/default.nix | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/pkgs/tools/text/txr/default.nix b/pkgs/tools/text/txr/default.nix index 6634ba136ddb1..a920e0b1f8ad8 100644 --- a/pkgs/tools/text/txr/default.nix +++ b/pkgs/tools/text/txr/default.nix @@ -1,8 +1,8 @@ -{ lib, - stdenv, - fetchurl, - coreutils, - libffi, +{ lib +, stdenv +, fetchurl +, coreutils +, libffi }: stdenv.mkDerivation (finalAttrs: { @@ -39,7 +39,6 @@ stdenv.mkDerivation (finalAttrs: { rm ${disabledTests} ''; - # TODO: ship vim plugin separately? postInstall = '' mkdir -p $out/share/vim-plugins/txr/{syntax,ftdetect} @@ -53,7 +52,7 @@ stdenv.mkDerivation (finalAttrs: { ln -s $out/share/vim-plugins/txr $out/share/nvim/site ''; - meta = with lib; { + meta = { homepage = "https://nongnu.org/txr"; description = "An Original, New Programming Language for Convenient Data Munging"; longDescription = '' @@ -67,8 +66,8 @@ stdenv.mkDerivation (finalAttrs: { application development in a wide range of areas. ''; changelog = "https://www.kylheku.com/cgit/txr/tree/RELNOTES?h=txr-${finalAttrs.version}"; - license = licenses.bsd2; + license = lib.licenses.bsd2; maintainers = with lib.maintainers; [ AndersonTorres dtzWill ]; - platforms = platforms.all; + platforms = lib.platforms.all; }; }) |