mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
30 lines
650 B
Nix
30 lines
650 B
Nix
{ 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 ];
|
|
};
|
|
}
|
|
|