2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2015-07-09 13:21:43 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-11-09 21:14:04 +00:00
|
|
|
pname = "shhmsg";
|
|
|
|
version = "1.4.2";
|
2015-07-09 13:21:43 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-11-09 21:14:04 +00:00
|
|
|
url = "https://shh.thathost.com/pub-unix/files/shhmsg-${version}.tar.gz";
|
2015-07-09 13:21:43 +00:00
|
|
|
sha256 = "0ax02fzqpaxr7d30l5xbndy1s5vgg1ag643c7zwiw2wj1czrxil8";
|
|
|
|
};
|
|
|
|
|
2021-03-12 06:03:18 +00:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace Makefile --replace "gcc" "${stdenv.cc.targetPrefix}cc"
|
|
|
|
'';
|
|
|
|
|
2019-11-05 01:10:31 +00:00
|
|
|
installFlags = [ "INSTBASEDIR=$(out)" ];
|
2015-07-09 13:21:43 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2015-07-09 13:21:43 +00:00
|
|
|
description = "A library for displaying messages";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://shh.thathost.com/pub-unix/";
|
2015-07-09 13:21:43 +00:00
|
|
|
license = licenses.artistic1;
|
2021-03-12 06:03:18 +00:00
|
|
|
platforms = platforms.all;
|
2015-07-09 13:21:43 +00:00
|
|
|
};
|
|
|
|
}
|