nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 66 lines 1.3 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 meson, 6 ninja, 7 pkg-config, 8 rustPlatform, 9 rustc, 10 cargo, 11 wrapGAppsHook4, 12 blueprint-compiler, 13 libadwaita, 14 desktop-file-utils, 15 openssl, 16 gst_all_1, 17 clapper-unwrapped, 18}: 19 20stdenv.mkDerivation rec { 21 pname = "televido"; 22 version = "0.5.0"; 23 24 src = fetchFromGitHub { 25 owner = "d-k-bo"; 26 repo = "televido"; 27 tag = "v${version}"; 28 hash = "sha256-9hoKX1fGjMOlvU3kNx4aLMV++k+nynDIK1UQRrw242k="; 29 }; 30 31 cargoDeps = rustPlatform.fetchCargoVendor { 32 inherit pname version src; 33 hash = "sha256-D9gchFS5zrD1cttq/gveT7wY2Y/5hfiUrwBa7qHD9cs="; 34 }; 35 36 nativeBuildInputs = [ 37 meson 38 ninja 39 pkg-config 40 rustPlatform.cargoSetupHook 41 rustc 42 cargo 43 wrapGAppsHook4 44 blueprint-compiler 45 openssl 46 ]; 47 48 buildInputs = [ 49 libadwaita 50 desktop-file-utils 51 clapper-unwrapped 52 gst_all_1.gstreamer 53 gst_all_1.gst-plugins-base 54 gst_all_1.gst-libav 55 gst_all_1.gst-plugins-bad 56 ]; 57 58 meta = { 59 description = "Viewer for German-language public broadcasting live streams and archives"; 60 homepage = "https://github.com/d-k-bo/televido"; 61 license = lib.licenses.gpl3; 62 mainProgram = "televido"; 63 maintainers = with lib.maintainers; [ seineeloquenz ]; 64 platforms = lib.platforms.linux; 65 }; 66}