chatterino7: init at 7.4.2.e76110c
This commit is contained in:
parent
0ff4e202d5
commit
3a30e96562
4 changed files with 42 additions and 6 deletions
|
@ -1,6 +1,7 @@
|
||||||
{config, pkgs, ...}:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
../../home
|
../../home
|
||||||
|
@ -23,6 +24,7 @@ imports = [
|
||||||
username = "notoh";
|
username = "notoh";
|
||||||
homeDirectory = "/home/notoh";
|
homeDirectory = "/home/notoh";
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
|
(callPackage ../../pkgs/chatterino7 {})
|
||||||
chromium
|
chromium
|
||||||
bitwarden
|
bitwarden
|
||||||
discord
|
discord
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
<h1 align="center">:package: pkgs</h1>
|
<h1 align="center">:package: pkgs</h1>
|
||||||
|
|
||||||
not in use yet, will house packages once i get comfortable writing them
|
this directory hosts derivations of packages not found in nixpkgs, and overrides.
|
||||||
|
|
||||||
|
name | description
|
||||||
|
--------------- | -----------
|
||||||
|
`chatterino7` | [7tv fork](https://github.com/SevenTV/chatterino7)of chatterino2, a chat client for twitch.tv
|
||||||
|
|
33
pkgs/chatterino7/default.nix
Normal file
33
pkgs/chatterino7/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
{
|
||||||
|
stdenv,
|
||||||
|
lib,
|
||||||
|
cmake,
|
||||||
|
pkgs,
|
||||||
|
}:
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "chatterino7";
|
||||||
|
version = "7.4.2";
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "SevenTV";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-WHdrFUTTuPN+U9BIsE6Ht2EdwIqWfVJzlwDg0Bwvr/w=";
|
||||||
|
fetchSubmodules = true;
|
||||||
|
};
|
||||||
|
nativeBuildInputs = with pkgs; [ cmake pkg-config libsForQt5.qt5.wrapQtAppsHook ];
|
||||||
|
buildInputs = with pkgs; [ libsForQt5.qt5.qtbase libsForQt5.qt5.qtsvg libsForQt5.qt5.qtmultimedia libsForQt5.qt5.qtimageformats libsForQt5.qt5.qttools boost openssl libsecret ];
|
||||||
|
configurationPhase = ''
|
||||||
|
mkdir build && cd build
|
||||||
|
cmake ..
|
||||||
|
'';
|
||||||
|
buildPhase = ''
|
||||||
|
make
|
||||||
|
'';
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p "$out/bin"
|
||||||
|
mv "bin/chatterino" "$out/bin"
|
||||||
|
'' + ''
|
||||||
|
mkdir -p $out/share/icons/hicolor/256x256/apps
|
||||||
|
cp $src/resources/icon.png $out/share/icons/hicolor/256x256/apps/chatterino.png
|
||||||
|
'';
|
||||||
|
}
|
|
@ -1,3 +0,0 @@
|
||||||
{ pkgs ? (import ../nixpkgs.nix) { } }: {
|
|
||||||
|
|
||||||
}
|
|
Loading…
Reference in a new issue