snowflake/pkgs/cpm/default.nix

30 lines
679 B
Nix
Raw Permalink Normal View History

2024-08-05 17:03:13 -04:00
{
pkgs,
rustPlatform,
fetchFromGitHub,
lib,
...
}:
rustPlatform.buildRustPackage {
name = "cpm";
src = fetchFromGitHub {
owner = "2547techno";
repo = "cpm";
rev = "bc7a70a606ea83300aed8d100df2985de785aa83";
sha256 = "sha256-uk2ltAPx8HxmVUhIIzAcQ6s4cTmsFmPOq0h/kSHMUzw=";
};
nativeBuildInputs = [pkgs.pkg-config];
buildInputs = [pkgs.openssl];
2024-08-10 17:06:09 -04:00
cargoHash = "sha256-j3FtsrxAvPX2UhMjtLXyWsmLEEn/ZQ6R9nH6PSG844c=";
2024-08-05 17:03:13 -04:00
meta = with lib; {
description = "Chatterino Plugin Manager ";
mainProgram = "cpm";
homepage = "https://github.com/2547techno/cpm";
2024-08-12 03:55:47 -04:00
license = licenses.gpl3;
2024-08-05 17:03:13 -04:00
maintainers = with maintainers; [notohh];
};
}