deckmaster: init at 0.8.0
This commit is contained in:
parent
96be7f5a90
commit
cca7deada4
46
pkgs/applications/misc/deckmaster/default.nix
Normal file
46
pkgs/applications/misc/deckmaster/default.nix
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, buildGoModule
|
||||||
|
, fetchFromGitHub
|
||||||
|
, makeWrapper
|
||||||
|
, roboto
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "deckmaster";
|
||||||
|
version = "0.8.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "muesli";
|
||||||
|
repo = "deckmaster";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-q2rUHfAvTGXBAGrZUtHMuZr6fYWmpha+al2FG8sCC0Y=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorSha256 = "sha256-kj4lRHuQ9e0TOC4p4Ak3AB3Lx0JN1jqXaVKlee9EtCg=";
|
||||||
|
|
||||||
|
proxyVendor = true;
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
makeWrapper
|
||||||
|
];
|
||||||
|
|
||||||
|
ldflags = [
|
||||||
|
"-s"
|
||||||
|
"-w"
|
||||||
|
];
|
||||||
|
|
||||||
|
# Let the app find Roboto-*.ttf files (hard-coded file names).
|
||||||
|
postFixup = ''
|
||||||
|
wrapProgram $out/bin/deckmaster \
|
||||||
|
--prefix XDG_DATA_DIRS : "${roboto.out}/share/" \
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "An application to control your Elgato Stream Deck on Linux";
|
||||||
|
homepage = "https://github.com/muesli/deckmaster";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ ianmjones ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
|
@ -7395,6 +7395,8 @@ with pkgs;
|
||||||
|
|
||||||
bc-decaf = callPackage ../development/libraries/bc-decaf { };
|
bc-decaf = callPackage ../development/libraries/bc-decaf { };
|
||||||
|
|
||||||
|
deckmaster = callPackage ../applications/misc/deckmaster { };
|
||||||
|
|
||||||
deco = callPackage ../applications/misc/deco { };
|
deco = callPackage ../applications/misc/deco { };
|
||||||
|
|
||||||
decoder = callPackage ../tools/security/decoder { };
|
decoder = callPackage ../tools/security/decoder { };
|
||||||
|
|
Loading…
Reference in a new issue