Merge pull request #200767 from mkg20001/r3

authored by

Maciej Krüger and committed by
GitHub
8814493d 48471731

+52
+50
pkgs/tools/misc/r3ctl/default.nix
··· 1 + { lib 2 + , qt5 3 + , qtbase 4 + , qtsvg 5 + , qtx11extras 6 + , qttools 7 + , qtwebsockets 8 + , qtmultimedia 9 + , fetchFromGitHub 10 + }: 11 + 12 + qt5.mkDerivation rec { 13 + pname = "r3ctl"; 14 + version = "a82cb5b3123224e706835407f21acea9dc7ab0f0"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "0xfeedc0de64"; 18 + repo = "r3ctl"; 19 + rev = "a82cb5b3123224e706835407f21acea9dc7ab0f0"; 20 + sha256 = "5/L8jvEDJGJzsuAxPrctSDS3d8lbFX/+f52OVyGQ/RY="; 21 + }; 22 + 23 + buildPhase = '' 24 + qmake . 25 + make 26 + ''; 27 + 28 + postInstall = '' 29 + mv bin $out 30 + ''; 31 + 32 + nativeBuildInputs = [ 33 + qt5.wrapQtAppsHook 34 + ]; 35 + 36 + buildInputs = [ 37 + qtbase 38 + qttools 39 + qtmultimedia 40 + qtwebsockets 41 + ]; 42 + 43 + meta = with lib; { 44 + description = "A cmdline tool to control the r3 hackerspace lights"; 45 + homepage = "https://github.com/0xfeedc0de64/r3ctl"; 46 + maintainers = with maintainers; [ mkg20001 ]; 47 + license = licenses.gpl3Only; 48 + platforms = platforms.linux; 49 + }; 50 + }
+2
pkgs/top-level/all-packages.nix
··· 560 560 561 561 riot-redis = callPackage ../development/tools/riot-redis { }; 562 562 563 + r3ctl = qt5.callPackage ../tools/misc/r3ctl { }; 564 + 563 565 ptouch-print = callPackage ../misc/ptouch-print { }; 564 566 565 567 demoit = callPackage ../servers/demoit { };