mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
0a53c6b565
For reasons I have renamed my GitHub account and would like to include this name change here.
29 lines
620 B
Nix
29 lines
620 B
Nix
{ 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 = [
|
|
"PREFIX=${placeholder "out"}"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "simple markup - markdown like syntax";
|
|
homepage = "https://github.com/Gottox/smu";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ oxzi ];
|
|
};
|
|
}
|
|
|