Merge pull request #310221 from Sigmanificient/coost-3.0.2

coost: 3.0.0 -> 3.0.2, migrate to by-name
This commit is contained in:
rewine 2024-05-10 20:26:20 +08:00 committed by GitHub
commit 5117e0c2ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 8 deletions

View file

@ -10,15 +10,15 @@
withOpenSSL ? true, withOpenSSL ? true,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "coost"; pname = "coost";
version = "3.0.0"; version = "3.0.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "idealvin"; owner = "idealvin";
repo = pname; repo = "coost";
rev = "v${version}"; rev = "v${finalAttrs.version}";
sha256 = "sha256-qpJh1yl0lYYszNHGo5Jkbzal2hnVzg7UUxiyg/Grva8="; hash = "sha256-HbMenAL/UWsqQ1o7cMeWfwXkLh4GxIKV7iuZQD3hDA8=";
}; };
postPatch = '' postPatch = ''
@ -34,6 +34,7 @@ stdenv.mkDerivation rec {
"-DBUILD_SHARED_LIBS=ON" "-DBUILD_SHARED_LIBS=ON"
] ++ lib.optional withCurl "-DWITH_LIBCURL=ON" ++ lib.optional withOpenSSL "-DWITH_OPENSSL=ON"; ] ++ lib.optional withCurl "-DWITH_LIBCURL=ON" ++ lib.optional withOpenSSL "-DWITH_OPENSSL=ON";
outputs = [ "out" "dev" ];
passthru.updateScript = gitUpdater { }; passthru.updateScript = gitUpdater { };
meta = with lib; { meta = with lib; {
@ -43,4 +44,4 @@ stdenv.mkDerivation rec {
maintainers = [ maintainers.sigmanificient ]; maintainers = [ maintainers.sigmanificient ];
platforms = platforms.unix; platforms = platforms.unix;
}; };
} })

View file

@ -540,8 +540,6 @@ with pkgs;
coolercontrol = recurseIntoAttrs (callPackage ../applications/system/coolercontrol { }); coolercontrol = recurseIntoAttrs (callPackage ../applications/system/coolercontrol { });
coost = callPackage ../development/libraries/coost { };
confetty = callPackage ../applications/misc/confetty { }; confetty = callPackage ../applications/misc/confetty { };
confy = callPackage ../applications/misc/confy { }; confy = callPackage ../applications/misc/confy { };