45 lines
892 B
Nix
45 lines
892 B
Nix
|
# Yoinky Sploinky https://git.nullcube.net/nullcube/nullpkgs/src/branch/main/pkgs/dwm-msg/default.nix
|
||
|
{ lib
|
||
|
, stdenv
|
||
|
, fetchFromGitHub
|
||
|
, libX11
|
||
|
, libXft
|
||
|
, libXinerama
|
||
|
, pkg-config
|
||
|
, yajl
|
||
|
,
|
||
|
}:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
pname = "dwm-msg";
|
||
|
version = "1.5.7";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "mihirlad55";
|
||
|
repo = "dwm-ipc";
|
||
|
rev = "v${version}";
|
||
|
hash = "sha256-ReQbA551i6YOQi/Qoive7jANnD5/IcXGApHHctgPdOM=";
|
||
|
};
|
||
|
|
||
|
nativeBuildInputs = [
|
||
|
pkg-config
|
||
|
libX11
|
||
|
libXinerama
|
||
|
libXft
|
||
|
yajl
|
||
|
];
|
||
|
|
||
|
installPhase = ''
|
||
|
mkdir -p $out/bin
|
||
|
cp dwm-msg $out/bin/
|
||
|
'';
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "a cli program that can be used to run commands, query dwm for information, and listen for events.";
|
||
|
homepage = "https://github.com/mihirlad55/dwm-ipc";
|
||
|
license = licenses.mit;
|
||
|
# platforms = platforms.all;
|
||
|
mainProgram = "dwm-msg";
|
||
|
};
|
||
|
}
|