git-latexdiff: use a more common order of attributes

This commit is contained in:
Doron Behar
2026-02-09 23:24:32 +02:00
parent 480985dd9a
commit 19d17a403b
+9 -9
View File
@@ -11,19 +11,12 @@ stdenv.mkDerivation (finalAttrs: {
pname = "git-latexdiff";
src = fetchFromGitLab {
hash = "sha256-DMoGEbCBuqUGjbna3yDpD4WNTikPudYRD4Wy1pPG2mw=";
tag = finalAttrs.version;
repo = "git-latexdiff";
owner = "git-latexdiff";
tag = finalAttrs.version;
hash = "sha256-DMoGEbCBuqUGjbna3yDpD4WNTikPudYRD4Wy1pPG2mw=";
};
buildInputs = [
git
bash
];
dontBuild = true;
patches = [ ./version-test.patch ];
postPatch = ''
@@ -32,6 +25,13 @@ stdenv.mkDerivation (finalAttrs: {
patchShebangs git-latexdiff
'';
buildInputs = [
git
bash
];
dontBuild = true;
installPhase = ''
mkdir -p $prefix/bin
mv git-latexdiff $prefix/bin