Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

wdisplays: 1.0 -> 2021-04-03

I just realized that the original repository disappeared, so I decided
switch to a fork[1] for now. Also, I changed the following things:

* The project got relicensed[2] to `gpl3Plus`. Unfortunately the tags are
gone, but it seems as this has happened after the 1.0 release, so no
problem for us.

* The patch for sway 1.5[3] got merged into the fork, so it doesn't have
to be applied here.

* Decided to go for `master` here for now. First of all there are no
tags anymore, also there are a few fixes on `master` now.

* Compared the new source with the old 1.0 tarball via `diff -r`. Even
though most of the changes were written by the original author on top
of 1.0, I did a diff against everything from 1.0 and didn't find any
issues. Also, `luispabon` doesn't seem to be a throw-away account so
I'd say that using this fork for now is fine.

[1] https://github.com/luispabon/wdisplays
[2] https://github.com/luispabon/wdisplays/commit/69564522bc12569c96a2192e2dd0d5d4bef8aa13
[3] https://github.com/luispabon/wdisplays/commit/5198a9c94b40ff157c284df413be5402f1b75118

+9 -20
+9 -20
pkgs/tools/graphics/wdisplays/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, gtk3, epoxy, wayland, wrapGAppsHook 2 - , fetchpatch 3 - }: 4 5 stdenv.mkDerivation rec { 6 pname = "wdisplays"; 7 - version = "1.0"; 8 9 nativeBuildInputs = [ meson ninja pkg-config wrapGAppsHook ]; 10 11 buildInputs = [ gtk3 epoxy wayland ]; 12 13 src = fetchFromGitHub { 14 - owner = "cyclopsian"; 15 repo = "wdisplays"; 16 - rev = version; 17 - sha256 = "1xhgrcihja2i7yg54ghbwr1v6kf8jnsfcp364yb97vkxskc4y21y"; 18 }; 19 20 - patches = [ 21 - # Fixes `Gdk-Message: 10:26:38.752: Error reading events from display: Success` 22 - # https://github.com/cyclopsian/wdisplays/pull/20 23 - (fetchpatch { 24 - url = "https://github.com/cyclopsian/wdisplays/commit/5198a9c94b40ff157c284df413be5402f1b75118.patch"; 25 - sha256 = "1xwphyn0ksf8isy9dz3mfdhmsz4jv02870qz5615zs7aqqfcwn85"; 26 - }) 27 - ]; 28 - 29 meta = with lib; { 30 description = "A graphical application for configuring displays in Wayland compositors"; 31 - homepage = "https://github.com/cyclopsian/wdisplays"; 32 - maintainers = with lib.maintainers; [ lheckemann ma27 ]; 33 - license = lib.licenses.mit; 34 - platforms = lib.platforms.linux; 35 }; 36 }
··· 1 + { lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, gtk3, epoxy, wayland, wrapGAppsHook }: 2 3 stdenv.mkDerivation rec { 4 pname = "wdisplays"; 5 + version = "unstable-2021-04-03"; 6 7 nativeBuildInputs = [ meson ninja pkg-config wrapGAppsHook ]; 8 9 buildInputs = [ gtk3 epoxy wayland ]; 10 11 src = fetchFromGitHub { 12 + owner = "luispabon"; 13 repo = "wdisplays"; 14 + rev = "7f2eac0d2aa81b5f495da7950fd5a94683f7868e"; 15 + sha256 = "sha256-cOF3+T34zPro58maWUouGG+vlLm2C5NfcH7PZhSvApE="; 16 }; 17 18 meta = with lib; { 19 description = "A graphical application for configuring displays in Wayland compositors"; 20 + homepage = "https://github.com/luispabon/wdisplays"; 21 + maintainers = with maintainers; [ lheckemann ma27 ]; 22 + license = licenses.gpl3Plus; 23 + platforms = platforms.linux; 24 }; 25 }