mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-17 02:14:08 +00:00
turnon: init at 1.6.1 (#350284)
This commit is contained in:
commit
7ade458577
52
pkgs/by-name/tu/turnon/package.nix
Normal file
52
pkgs/by-name/tu/turnon/package.nix
Normal file
@ -0,0 +1,52 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
cairo,
|
||||
pango,
|
||||
pkg-config,
|
||||
libadwaita,
|
||||
blueprint-compiler,
|
||||
wrapGAppsHook4,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "turnon";
|
||||
version = "1.6.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "swsnr";
|
||||
repo = "turnon";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-727v1jQBBueLHvk0DphMHnrgJe46gap3hp0ygUYezJ0=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-mywGCIjsoShRPRNMkTmVh7597QdvBSIsI/HucYv3CzY=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
cairo
|
||||
pango
|
||||
pkg-config
|
||||
blueprint-compiler
|
||||
wrapGAppsHook4
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libadwaita
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
preBuild = ''
|
||||
blueprint-compiler format resources/**/*.blp
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Turn on devices in your local network";
|
||||
homepage = "https://github.com/swsnr/turnon";
|
||||
license = lib.licenses.mpl20;
|
||||
maintainers = with lib.maintainers; [ mksafavi ];
|
||||
mainProgram = "turnon";
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user