platform-folders: add updateScript
This commit is contained in:
parent
ac1f5b72a9
commit
2515951ed8
1 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, cmake }:
|
{ lib, stdenv, fetchFromGitHub, cmake, gitUpdater }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "platform-folders";
|
pname = "platform-folders";
|
||||||
|
@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
|
||||||
"-DBUILD_SHARED_LIBS=${if stdenv.hostPlatform.isStatic then "OFF" else "ON"}"
|
"-DBUILD_SHARED_LIBS=${if stdenv.hostPlatform.isStatic then "OFF" else "ON"}"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
passthru.updateScript = gitUpdater { };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A C++ library to look for standard platform directories so that you do not need to write platform-specific code";
|
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";
|
homepage = "https://github.com/sago007/PlatformFolders";
|
||||||
|
|
Loading…
Reference in a new issue