blob: 63c9bb8d024f100783d8c8b0f184d6a5b6a9aaa3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{ stdenv, lib, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "smu";
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";
makeFlags = [
"PREFIX=${placeholder "out"}"
];
meta = with lib; {
description = "simple markup - markdown like syntax";
mainProgram = "smu";
homepage = "https://github.com/Gottox/smu";
license = licenses.mit;
maintainers = with maintainers; [ oxzi ];
};
}
|