git-latexdiff: use a more common order of attributes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user