coost: migrate to by-name

This commit is contained in:
Sigmanificient 2024-05-09 00:31:01 +02:00
parent 5dc5f11215
commit 1b448e33fe
2 changed files with 6 additions and 7 deletions

View file

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

View file

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