chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / to / torrentstream / package.nix
blobc07e9d52eeb476c7b16ef8bf520863c16c2d8bb5
1 { lib
2 , buildDotnetModule
3 , fetchFromGitHub
4 , dotnetCorePackages
5 }:
7 buildDotnetModule rec {
8   pname = "torrentstream";
9   version = "1.0.1.11";
11   src = fetchFromGitHub {
12     owner = "trueromanus";
13     repo = "TorrentStream";
14     rev = version;
15     hash = "sha256-3lmQWx00Ulp0ZyQBEhFT+djHBi84foMlWGJEp/UOGek=";
16   };
18   sourceRoot = "${src.name}/src";
20   dotnet-runtime = dotnetCorePackages.aspnetcore_8_0;
21   dotnet-sdk = dotnetCorePackages.sdk_8_0;
22   executables = [ "TorrentStream" ];
23   nugetDeps = ./deps.nix;
24   projectFile = "TorrentStream.csproj";
25   selfContainedBuild = true;
27   dotnetFlags = [
28     "-p:PublishAot=false" # untill https://github.com/NixOS/nixpkgs/issues/280923 is fixed
29     "-p:PublishSingleFile=true"
30   ];
32   patches = [
33     ./0001-display-the-message-of-caught-exceptions.patch
34   ];
36   meta = {
37     homepage = "https://github.com/trueromanus/TorrentStream";
38     description = "Simple web server for streaming torrent files in video players";
39     license = lib.licenses.bsd2;
40     platforms = lib.platforms.all;
41     mainProgram = "TorrentStream";
42     maintainers = with lib.maintainers; [ _3JlOy-PYCCKUi ];
43   };