pkgs: add cpm
This commit is contained in:
parent
09c332c11b
commit
823839e4cd
1 changed files with 29 additions and 0 deletions
29
pkgs/cpm/default.nix
Normal file
29
pkgs/cpm/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
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];
|
||||
|
||||
cargoSha256 = "sha256-j3FtsrxAvPX2UhMjtLXyWsmLEEn/ZQ6R9nH6PSG844c=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Chatterino Plugin Manager ";
|
||||
mainProgram = "cpm";
|
||||
homepage = "https://github.com/2547techno/cpm";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [notohh];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue