minidlna: refactor

this shouldn't create any rebuilds
This commit is contained in:
quantenzitrone
2026-02-06 22:10:31 +01:00
parent b2bb4af46a
commit 535affd956
+3 -6
View File
@@ -17,16 +17,13 @@
zlib,
}:
let
stdenv.mkDerivation (finalAttrs: {
pname = "minidlna";
version = "1.3.3";
in
stdenv.mkDerivation {
inherit pname version;
src = fetchgit {
url = "https://git.code.sf.net/p/minidlna/git";
rev = "v${builtins.replaceStrings [ "." ] [ "_" ] version}";
rev = "v${builtins.replaceStrings [ "." ] [ "_" ] finalAttrs.version}";
hash = "sha256-InsSguoGi1Gp8R/bd4/c16xqRuk0bRsgw7wvcbokgKo=";
};
@@ -75,4 +72,4 @@ stdenv.mkDerivation {
platforms = lib.platforms.linux;
mainProgram = "minidlnad";
};
}
})