way-displays 1.5.3 -> 1.6.0
* way-displays 1.5.3 -> 1.6.0 * fix: sha256 Co-authored-by: Simone Ruffini <simone.ruffini@tutanota.com>
This commit is contained in:
parent
e93f48d2d0
commit
99abca2c66
|
@ -9,19 +9,15 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "way-displays";
|
||||
version = "1.5.3";
|
||||
version = "1.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "alex-courtis";
|
||||
repo = "way-displays";
|
||||
rev = "${version}";
|
||||
sha256 = "sha256-5A0qZRpWw3Deo9cGqGULpQMoPCVh85cWE/wJ5XSbVJk=";
|
||||
sha256 = "sha256-wrfRSJaVz0GjYxuIDvJ+16aaz+kRTtv0q5jN2IG4Uco=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/cfg.cpp --replace "\"/etc" "\"$out/etc"
|
||||
'';
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -35,7 +31,7 @@ stdenv.mkDerivation rec {
|
|||
libinput
|
||||
];
|
||||
|
||||
makeFlags = [ "DESTDIR=$(out) PREFIX= PREFIX_ETC="];
|
||||
makeFlags = [ "DESTDIR=$(out) PREFIX= PREFIX_ETC= ROOT_ETC=$(out)/etc"];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/alex-courtis/way-displays";
|
||||
|
|
Loading…
Reference in a new issue