pkgs: dwm-msg
This commit is contained in:
parent
d35f56c603
commit
dde8a27a7e
1 changed files with 44 additions and 0 deletions
44
pkgs/dwm-msg/default.nix
Normal file
44
pkgs/dwm-msg/default.nix
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
# 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";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue