Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / shhmsg / default.nix
blob901ee48adeceb269abd464ac53ffad75e9226c23
1 { lib, stdenv, fetchurl }:
3 stdenv.mkDerivation rec {
4   pname = "shhmsg";
5   version = "1.4.2";
7   src = fetchurl {
8     url = "https://shh.thathost.com/pub-unix/files/shhmsg-${version}.tar.gz";
9     sha256 = "0ax02fzqpaxr7d30l5xbndy1s5vgg1ag643c7zwiw2wj1czrxil8";
10   };
12   postPatch = ''
13     substituteInPlace Makefile --replace "gcc" "${stdenv.cc.targetPrefix}cc"
14   '';
16   installFlags = [ "INSTBASEDIR=$(out)" ];
18   meta = with lib; {
19     description = "A library for displaying messages";
20     homepage = "https://shh.thathost.com/pub-unix/";
21     license = licenses.artistic1;
22     platforms = platforms.all;
23   };