nixpkgs/pkgs/tools/text/smu/default.nix

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

29 lines
625 B
Nix
Raw Normal View History

2019-11-17 00:27:22 +03:00
{ stdenv, lib, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "smu";
2019-11-17 00:27:22 +03:00
version = "1.5";
src = fetchFromGitHub {
owner = "Gottox";
repo = "smu";
rev = "v${version}";
sha256 = "1jm7lhnzjx4q7gcwlkvsbffcy0zppywyh50d71ami6dnq182vvcc";
};
# _FORTIFY_SOURCE requires compiling with optimization (-O)
env.NIX_CFLAGS_COMPILE = "-O";
2019-11-17 00:27:22 +03:00
makeFlags = [
"PREFIX=${placeholder "out"}"
];
2019-11-17 00:27:22 +03:00
meta = with lib; {
description = "simple markup - markdown like syntax";
homepage = "https://github.com/Gottox/smu";
license = licenses.mit;
maintainers = with maintainers; [ oxzi ];
2019-11-17 00:27:22 +03:00
};
}