platform-folders: add updateScript

This commit is contained in:
Lily Foster 2022-10-24 07:44:16 -04:00
parent ac1f5b72a9
commit 2515951ed8
No known key found for this signature in database
GPG key ID: 49340081E484C893

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake }:
{ lib, stdenv, fetchFromGitHub, cmake, gitUpdater }:
stdenv.mkDerivation rec {
pname = "platform-folders";
@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
"-DBUILD_SHARED_LIBS=${if stdenv.hostPlatform.isStatic then "OFF" else "ON"}"
];
passthru.updateScript = gitUpdater { };
meta = with lib; {
description = "A C++ library to look for standard platform directories so that you do not need to write platform-specific code";
homepage = "https://github.com/sago007/PlatformFolders";