unity
This commit is contained in:
parent
de44a16949
commit
f7244c7e45
3 changed files with 41 additions and 1 deletions
|
|
@ -13,6 +13,9 @@ let
|
||||||
};
|
};
|
||||||
tinylog = callPackage ./pkgs/t/tinylog/package.nix {};
|
tinylog = callPackage ./pkgs/t/tinylog/package.nix {};
|
||||||
unity_test_with_color = callPackage ./pkgs/u/unity-test/package.nix {};
|
unity_test_with_color = callPackage ./pkgs/u/unity-test/package.nix {};
|
||||||
|
uem = callPackage ./pkgs/u/uem/package.nix {
|
||||||
|
pkgs = pkgs;
|
||||||
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
xbuild = xbuild;
|
xbuild = xbuild;
|
||||||
|
|
@ -21,4 +24,5 @@ in
|
||||||
zlog_with_pkgconf = zlog_with_pkgconf;
|
zlog_with_pkgconf = zlog_with_pkgconf;
|
||||||
tinylog = tinylog;
|
tinylog = tinylog;
|
||||||
unity_test_with_color = unity_test_with_color;
|
unity_test_with_color = unity_test_with_color;
|
||||||
|
uem = uem;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
35
pkgs/u/uem/package.nix
Normal file
35
pkgs/u/uem/package.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
stdenv,
|
||||||
|
fetchFromGitHub,
|
||||||
|
cmake,
|
||||||
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
pname = "uem";
|
||||||
|
version = "0.1";
|
||||||
|
meta = {
|
||||||
|
description = "Universal Emacs Manager";
|
||||||
|
homepage = "https://github.com/shen390s/uem";
|
||||||
|
license = lib.licenses.bsd3;
|
||||||
|
maintainers = [ lib.maintainers.i01011001 ];
|
||||||
|
};
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
pname = pname;
|
||||||
|
version = version;
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "shen390s";
|
||||||
|
repo = "uem";
|
||||||
|
tag = "v${finalAttrs.version}";
|
||||||
|
# hash = "sha256-g0ubq7RxGQmL1R6vz9RIGJpVWYsgrZhsTWSrL1ySEug=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ roswell ];
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
ros build roswell/uem.ros
|
||||||
|
'';
|
||||||
|
})
|
||||||
|
|
@ -27,7 +27,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
makeFlags = [ "UNITY_OUTPUT_COLOR=1" ];
|
# makeFlags = [ "UNITY_OUTPUT_COLOR=1" ];
|
||||||
|
env.NIX_CFLAGS_COMPILE = "-DUNITY_OUTPUT_COLOR=1";
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue