+ pkgs/xo-cmake.nix
This commit is contained in:
parent
eb7ae8a564
commit
0f202575f9
1 changed files with 38 additions and 0 deletions
38
pkgs/xo-cmake.nix
Normal file
38
pkgs/xo-cmake.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
# 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'
|
||||
# '';
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue