Merge pull request #123703 from fortuneteller2k/tiramisu
tiramisu: 1.0 -> unstable-2021-05-20
This commit is contained in:
commit
87035c812b
1 changed files with 9 additions and 13 deletions
|
@ -1,20 +1,16 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, pkg-config, glib }:
|
{ lib, stdenv, fetchFromGitHub, pkg-config, glib }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation {
|
||||||
pname = "tiramisu";
|
pname = "tiramisu";
|
||||||
version = "1.0";
|
version = "unstable-2021-05-20";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Sweets";
|
owner = "Sweets";
|
||||||
repo = pname;
|
repo = "tiramisu";
|
||||||
rev = version;
|
rev = "e53833d0b5b0ae41ceb7dc434d8e25818fe62291";
|
||||||
sha256 = "0aw17riwgrhsmcndzh7sw2zw8xvn3d203c2gcrqi9nk5pa7fwp9m";
|
sha256 = "sha256-F4oaTOAQQfOkEXeBVbGH+0CHc9v9Ac08GyzHliOdAfc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
sed -i 's/printf(element_delimiter)/printf("%s", element_delimiter)/' src/output.c
|
|
||||||
'';
|
|
||||||
|
|
||||||
buildInputs = [ glib ];
|
buildInputs = [ glib ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
@ -24,13 +20,13 @@ stdenv.mkDerivation rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Desktop notifications, the UNIX way";
|
description = "Desktop notifications, the UNIX way";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
tiramisu is a notification daemon based on dunst that outputs notifications
|
tiramisu is a notification daemon based on dunst that outputs notifications
|
||||||
to STDOUT in order to allow the user to process notifications any way they
|
to STDOUT in order to allow the user to process notifications any way they
|
||||||
prefer.
|
prefer.
|
||||||
'';
|
'';
|
||||||
homepage = "https://github.com/Sweets/tiramisu";
|
homepage = "https://github.com/Sweets/tiramisu";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ wishfort36 ];
|
maintainers = with maintainers; [ wishfort36 fortuneteller2k ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue