dotnet: improve language coverage of passthru.tests for dotnet sdks (#370789)
[NixPkgs.git] / pkgs / by-name / tu / turnon / package.nix
blobaba0ff47ae19452bc7650c614c83db296ed8f4fe
2   lib,
3   fetchFromGitHub,
4   rustPlatform,
5   cairo,
6   pango,
7   pkg-config,
8   libadwaita,
9   blueprint-compiler,
10   wrapGAppsHook4,
13 rustPlatform.buildRustPackage rec {
14   pname = "turnon";
15   version = "2.0.0";
17   src = fetchFromGitHub {
18     owner = "swsnr";
19     repo = "turnon";
20     rev = "v${version}";
21     hash = "sha256-HCeK0aOGxeiZD7Am+kUf3z4rT7JENQxyrAufBStrSms=";
22   };
24   cargoHash = "sha256-43hv+ZCpgXK6GGMDG0hXza7g4jvRNmr57MTgkvTOvVQ=";
26   nativeBuildInputs = [
27     cairo
28     pango
29     pkg-config
30     blueprint-compiler
31     wrapGAppsHook4
32   ];
34   buildInputs = [
35     libadwaita
36   ];
38   strictDeps = true;
40   preBuild = ''
41     blueprint-compiler format resources/**/*.blp
42   '';
44   meta = {
45     description = "Turn on devices in your local network";
46     homepage = "https://github.com/swsnr/turnon";
47     license = lib.licenses.mpl20;
48     maintainers = with lib.maintainers; [ mksafavi ];
49     mainProgram = "turnon";
50     platforms = lib.platforms.linux;
51   };