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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
614 B
Nix
Raw Normal View History

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