mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
49 lines
893 B
Nix
49 lines
893 B
Nix
{ lib
|
|
, qt5
|
|
, qtbase
|
|
, qttools
|
|
, qtwebsockets
|
|
, qtmultimedia
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
qt5.mkDerivation {
|
|
pname = "r3ctl";
|
|
version = "a82cb5b3123224e706835407f21acea9dc7ab0f0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "0xfeedc0de64";
|
|
repo = "r3ctl";
|
|
rev = "a82cb5b3123224e706835407f21acea9dc7ab0f0";
|
|
sha256 = "5/L8jvEDJGJzsuAxPrctSDS3d8lbFX/+f52OVyGQ/RY=";
|
|
};
|
|
|
|
buildPhase = ''
|
|
qmake .
|
|
make
|
|
'';
|
|
|
|
postInstall = ''
|
|
mv bin $out
|
|
'';
|
|
|
|
nativeBuildInputs = [
|
|
qt5.wrapQtAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
qtbase
|
|
qttools
|
|
qtmultimedia
|
|
qtwebsockets
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Cmdline tool to control the r3 hackerspace lights";
|
|
mainProgram = "r3ctl";
|
|
homepage = "https://github.com/0xfeedc0de64/r3ctl";
|
|
maintainers = with maintainers; [ mkg20001 ];
|
|
license = licenses.gpl3Only;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|