mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
Merge pull request #295938 from dragonginger10/discover-overlay-0.7.0
discover-overlay: init at 0.7.0
This commit is contained in:
commit
a083aec651
@ -5301,6 +5301,12 @@
|
||||
fingerprint = "D245 D484 F357 8CB1 7FD6 DA6B 67DB 29BF F3C9 6757";
|
||||
}];
|
||||
};
|
||||
dragonginger = {
|
||||
email = "dragonginger10@gmail.com";
|
||||
github = "dragonginger10";
|
||||
githubId = 20759788;
|
||||
name = "JP Lippold";
|
||||
};
|
||||
dramaturg = {
|
||||
email = "seb@ds.ag";
|
||||
github = "dramaturg";
|
||||
|
52
pkgs/by-name/di/discover-overlay/package.nix
Normal file
52
pkgs/by-name/di/discover-overlay/package.nix
Normal file
@ -0,0 +1,52 @@
|
||||
{ lib, python3, fetchFromGitHub, gtk3, gobject-introspection, gtk-layer-shell, wrapGAppsHook }:
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "discover-overlay";
|
||||
version = "0.7.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "trigg";
|
||||
repo = "Discover";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-//QW6N87Uhm2aH0RSuykHG3+EfzYSHOcSNLSn1y0rFw=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
gtk3
|
||||
gtk-layer-shell
|
||||
];
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
gobject-introspection
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
dontWrapGApps = true;
|
||||
|
||||
makeWrapperArgs = [ "\${gappsWrapperArgs[@]}" "--set DISPLAY ':0.0'" ];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
pycairo
|
||||
pygobject3
|
||||
websocket-client
|
||||
pyxdg
|
||||
requests
|
||||
pillow
|
||||
setuptools
|
||||
xlib
|
||||
];
|
||||
postPatch = ''
|
||||
substituteInPlace discover_overlay/image_getter.py \
|
||||
--replace-fail /usr $out
|
||||
'';
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Yet another discord overlay for linux";
|
||||
homepage = "https://github.com/trigg/Discover";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ dragonginger ];
|
||||
mainProgram = "discover-overlay";
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user