Skip to content
Snippets Groups Projects
Commit bf533545 authored by Jens Nolte's avatar Jens Nolte
Browse files

Add package wayvnc

parent f5cbd7d8
No related branches found
No related tags found
No related merge requests found
......@@ -33,6 +33,7 @@ in
gnome3.gnome-disk-utility
vscode
networkmanagerapplet
wayvnc
# cursor theme
simpleandsoft
......
......@@ -12,6 +12,8 @@ let
neovim = (import ./neovim { inherit pkgs; }).neovim;
nginx-sso = callPackage ./nginx-sso {};
simpleandsoft = (import ./simpleandsoft { inherit pkgs; }).simpleandsoft;
neatvnc = callPackage ./neatvnc/neatvnc.nix {};
wayvnc = callPackage ./wayvnc/wayvnc.nix {};
};
in newpkgs
{ pkgs ? import <nixpkgs> {} }:
{
neatvnc = pkgs.callPackage ./neatvnc.nix {};
}
\ No newline at end of file
{ stdenv, fetchFromGitHub, meson, pkgconfig, ninja, libdrm, pixman, libuv, gnutls, libjpeg_turbo }:
with builtins;
let
repo = fromJSON ( readFile ./repo.json );
in
stdenv.mkDerivation {
pname = "neatvnc";
version = repo.rev;
src = fetchFromGitHub repo;
nativeBuildInputs = [
pkgconfig meson ninja
];
buildInputs = [
pixman libuv gnutls libdrm libjpeg_turbo
];
enableParallelBuilding = true;
# mesonFlags = [
# "-Ddefault-wallpaper=false" "-Dxwayland=enabled" "-Dgdk-pixbuf=enabled"
# "-Dtray=enabled" "-Dman-pages=enabled"
# ];
# meta = with stdenv.lib; {
# description = "i3-compatible tiling Wayland compositor";
# homepage = https://swaywm.org;
# license = licenses.mit;
# platforms = platforms.linux;
# maintainers = with maintainers; [ primeos synthetica ma27 ];
# };
}
\ No newline at end of file
{
"owner": "any1",
"repo": "neatvnc",
"rev": "992b4445edea7199ec0d2d673d726767f1da4f5f",
"sha256": "12nv74x4mjw9xz2ahj1mm45jfifmdrpbap3dpn2w7nj5av6ivvm6"
}
\ No newline at end of file
#!/usr/bin/env nix-shell
#! nix-shell -i sh -p nix-prefetch-github
nix-prefetch-github any1 neatvnc > repo.json
{ pkgs ? import <nixpkgs> {} }:
let
neatvnc = pkgs.callPackage ../neatvnc/neatvnc.nix {};
in
{
wayvnc = pkgs.callPackage ./wayvnc.nix { inherit neatvnc; };
}
\ No newline at end of file
{
"owner": "any1",
"repo": "wayvnc",
"rev": "908ba0f904a0e552a6bbe63fbd04e243b4f4685f",
"sha256": "0vly9m10jd3zlrpncipblqsqc3jf94lyhz5yb05b5c8hvqdk8w3g"
}
\ No newline at end of file
#!/usr/bin/env nix-shell
#! nix-shell -i sh -p nix-prefetch-github
nix-prefetch-github any1 wayvnc > repo.json
{ stdenv, fetchFromGitHub, meson, pkgconfig, ninja, libdrm, libX11, pixman, libuv, libGL, libxkbcommon, wayland, neatvnc }:
with builtins;
let
repo = fromJSON ( readFile ./repo.json );
in
stdenv.mkDerivation {
pname = "wayvnc";
version = repo.rev;
src = fetchFromGitHub repo;
nativeBuildInputs = [
pkgconfig meson ninja
];
buildInputs = [
pixman libuv libGL libxkbcommon wayland neatvnc libdrm libX11
];
enableParallelBuilding = true;
# mesonFlags = [
# "-Ddefault-wallpaper=false" "-Dxwayland=enabled" "-Dgdk-pixbuf=enabled"
# "-Dtray=enabled" "-Dman-pages=enabled"
# ];
# meta = with stdenv.lib; {
# description = "i3-compatible tiling Wayland compositor";
# homepage = https://swaywm.org;
# license = licenses.mit;
# platforms = platforms.linux;
# maintainers = with maintainers; [ primeos synthetica ma27 ];
# };
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment