mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 17:14:00 +00:00
fastcompmgr: init at 0.3 (#336909)
This commit is contained in:
commit
de863dbb8c
@ -3339,6 +3339,12 @@
|
||||
githubId = 141733;
|
||||
name = "Andrew Bruce";
|
||||
};
|
||||
camerondugan = {
|
||||
email = "cameron.dugan@protonmail.com";
|
||||
github = "camerondugan";
|
||||
githubId = 54632731;
|
||||
name = "Cameron Dugan";
|
||||
};
|
||||
cameronfyfe = {
|
||||
email = "cameron.j.fyfe@gmail.com";
|
||||
github = "cameronfyfe";
|
||||
|
45
pkgs/by-name/fa/fastcompmgr/package.nix
Normal file
45
pkgs/by-name/fa/fastcompmgr/package.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
xorg,
|
||||
pkgs,
|
||||
lib,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "fastcompmgr";
|
||||
version = "0.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tycho-kirchner";
|
||||
repo = "fastcompmgr";
|
||||
rev = "refs/tags/v${finalAttrs.version}";
|
||||
hash = "sha256-UKX0gjhbbXSXfyw/NGA31vTOfgd4kdnxO7lIs+mkgFs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgs.pkg-config ];
|
||||
|
||||
buildInputs = [
|
||||
xorg.libX11
|
||||
xorg.libXcomposite
|
||||
xorg.libXdamage
|
||||
xorg.libXfixes
|
||||
xorg.libXrender
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/bin
|
||||
cp fastcompmgr $out/bin
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Fast compositor for X11";
|
||||
homepage = "https://github.com/tycho-kirchner/fastcompmgr";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ camerondugan ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
Loading…
Reference in New Issue
Block a user