2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2015-07-09 14:21:43 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "shhmsg-1.4.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2020-01-22 10:26:22 +00:00
|
|
|
url = "https://shh.thathost.com/pub-unix/files/${name}.tar.gz";
|
2015-07-09 14:21:43 +01: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 14:21:43 +01:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2015-07-09 14:21:43 +01:00
|
|
|
description = "A library for displaying messages";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://shh.thathost.com/pub-unix/";
|
2015-07-09 14:21:43 +01:00
|
|
|
license = licenses.artistic1;
|
2021-03-12 06:03:18 +00:00
|
|
|
platforms = platforms.all;
|
2015-07-09 14:21:43 +01:00
|
|
|
};
|
|
|
|
}
|