use attribute instead of hardcoded version in package url

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
summersamara
2024-11-19 01:29:36 +01:00
committed by GitHub
co-authored by Sandro
parent bec44da823
commit dd5fda8f0b
+1 -1
View File
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
version = "0.0.53";
src = fetchurl {
url = "mirror://ubuntu/pool/universe/h/hexdiff/hexdiff_0.0.53.orig.tar.gz";
url = "mirror://ubuntu/pool/universe/h/hexdiff/hexdiff_${version}.orig.tar.gz";
sha256 = "sha256-M1bmkW63pHlfl9zNWEq0EGN1rpVGo+BTUKM9ot4HWqo=";
};
postPatch = ''