diff options
author | geistesk <github.jyf300hj@0x21.biz> | 2019-11-16 22:27:22 +0100 |
---|---|---|
committer | geistesk <github.jyf300hj@0x21.biz> | 2019-11-16 22:27:22 +0100 |
commit | b3ca115ebd711d5eb800c828e93e2e420496acca (patch) | |
tree | 8675244317889c22ee3a2bb61add81507e09a694 /pkgs/tools/text | |
parent | 577d159ece1460aeb32b40848182fe41a7f08add (diff) |
smu: init at 1.5
Diffstat (limited to 'pkgs/tools/text')
-rw-r--r-- | pkgs/tools/text/smu/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/text/smu/default.nix b/pkgs/tools/text/smu/default.nix new file mode 100644 index 0000000000000..a80a6d3d799bb --- /dev/null +++ b/pkgs/tools/text/smu/default.nix @@ -0,0 +1,26 @@ +{ stdenv, lib, fetchFromGitHub }: + +stdenv.mkDerivation rec { + name = "smu"; + version = "1.5"; + + src = fetchFromGitHub { + owner = "Gottox"; + repo = "smu"; + rev = "v${version}"; + sha256 = "1jm7lhnzjx4q7gcwlkvsbffcy0zppywyh50d71ami6dnq182vvcc"; + }; + + # _FORTIFY_SOURCE requires compiling with optimization (-O) + NIX_CFLAGS_COMPILE = "-O"; + + makeFlags = [ "DESTDIR=$(out)" "PREFIX=" ]; + + meta = with lib; { + description = "simple markup - markdown like syntax"; + homepage = "https://github.com/Gottox/smu"; + license = licenses.mit; + maintainers = with maintainers; [ geistesk ]; + }; +} + |