nixpkgs/pkgs/development/libraries/shhmsg/default.nix

24 lines
588 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl }:
2015-07-09 14:21:43 +01:00
stdenv.mkDerivation rec {
name = "shhmsg-1.4.2";
src = fetchurl {
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
meta = with lib; {
2015-07-09 14:21:43 +01:00
description = "A library for displaying messages";
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
};
}