xo-umbrella2/xo-unit/pkgs/xo-cmake.nix
Roland Conybeare d1fa15f248 Add 'xo-unit/' from commit 'b531e382c2'
git-subtree-dir: xo-unit
git-subtree-mainline: e9ee6992ca
git-subtree-split: b531e382c2
2025-05-10 21:29:43 -05:00

38 lines
766 B
Nix

{
# dependencies
stdenv, cmake, # ... other deps here
# args
# attrset for fetching source code.
# { type, owner, repo, ref }
#
# e.g. type="github", owner="rconybea", repo="cmake-examples", ref="ex1b"
#
# see [[../flake.nix]]
#
#cmake-examples-ex1-path
# someconfigurationoption ? false
} :
stdenv.mkDerivation (finalattrs:
{
name = "xo-cmake";
# src = cmake-examples-ex1-path;
src = (fetchGit {
url = "https://github.com/rconybea/xo-cmake";
version = "1.0";
#ref = "ex1";
#rev = "c0472c9d7e4d2c53bfb977d3182380832fe96645";
});
nativeBuildInputs = [ cmake ];
# installPhase = ''
# mkdir -p $out
# echo 'This project intentionally has no install phase'
# '';
})