From 7d95d63b850749d1b8348555e682fd57febe5935 Mon Sep 17 00:00:00 2001 From: claes Date: Sat, 31 Aug 2024 10:23:37 +0200 Subject: [PATCH] dms: init at 1.6.0 --- pkgs/by-name/dm/dms/package.nix | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pkgs/by-name/dm/dms/package.nix diff --git a/pkgs/by-name/dm/dms/package.nix b/pkgs/by-name/dm/dms/package.nix new file mode 100644 index 000000000000..52150cf74172 --- /dev/null +++ b/pkgs/by-name/dm/dms/package.nix @@ -0,0 +1,28 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, +}: + +buildGoModule rec { + pname = "dms"; + version = "1.6.0"; + + src = fetchFromGitHub { + owner = "anacrolix"; + repo = "dms"; + rev = "refs/tags/v${version}"; + hash = "sha256-QwRLNCXDu/dKh2o17AyASlVQPIEOX6e4kTINa2ZzZkU="; + }; + + vendorHash = "sha256-Z0DoVmL0zJ4l9hrO+zGp6FcExvhbiPu5+N3Mfyxi5DE="; + + meta = { + homepage = "https://github.com/anacrolix/dms"; + description = "UPnP DLNA Digital Media Server with basic video transcoding"; + license = lib.licenses.bsd3; + maintainers = [ lib.maintainers.claes ]; + platforms = lib.platforms.linux; + mainProgram = "dms"; + }; +}