Files
Ihar HrachyshkaandWolfgang Walther 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

35 lines
826 B
Nix

{
stdenv,
lib,
perlPackages,
fetchFromGitHub,
}:
stdenv.mkDerivation {
pname = "tes3cmd";
version = "0.40-pre-release-2";
src = fetchFromGitHub {
owner = "john-moonsugar";
repo = "tes3cmd";
rev = "f72e9ed9dd18e8545dd0dc2a4056c250cf505790";
sha256 = "01zqplp8yb0xnl54963n0zkz66rf3hn2x3i255jlhdhx1c43jba7";
};
buildInputs = [ perlPackages.perl ];
installPhase = ''
mkdir -p $out/bin
cp tes3cmd $out/bin/tes3cmd
'';
meta = {
description = "Command line tool for examining and modifying plugins for the Elder Scrolls game Morrowind by Bethesda Softworks";
mainProgram = "tes3cmd";
homepage = "https://github.com/john-moonsugar/tes3cmd";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.marius851000 ];
platforms = lib.platforms.linux;
};
}