minidlna: refactor
this shouldn't create any rebuilds
This commit is contained in:
@@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user