xo-unit: nix: fix xo-ratio buidl
This commit is contained in:
parent
cb7d4db69c
commit
ba793cf5b5
1 changed files with 17 additions and 13 deletions
|
|
@ -1,19 +1,19 @@
|
||||||
{
|
{
|
||||||
# 1. nixpkgs dependencies
|
# 1. nixpkgs dependencies
|
||||||
# 1.1. python
|
# 1.1. python
|
||||||
python, pythonPackages,
|
#python, pythonPackages,
|
||||||
|
|
||||||
# 1.2. particular python packages
|
# 1.2. particular python packages
|
||||||
sphinx ? pythonPackages.sphinx,
|
#sphinx ? pythonPackages.sphinx,
|
||||||
sphinx-rtd-theme ? pythonPackages.sphinx-rtd-theme,
|
#sphinx-rtd-theme ? pythonPackages.sphinx-rtd-theme,
|
||||||
breathe ? pythonPackages.breathe,
|
#breathe ? pythonPackages.breathe,
|
||||||
|
|
||||||
# 1.3. document-generation packages
|
# 1.3. document-generation packages
|
||||||
# use of makeFontsConf adapted from nixpkgs/development/libraries/gtkmm/4.x.nix
|
# use of makeFontsConf adapted from nixpkgs/development/libraries/gtkmm/4.x.nix
|
||||||
#
|
#
|
||||||
doxygen, graphviz,
|
#doxygen, graphviz,
|
||||||
#fontconfig,
|
##fontconfig,
|
||||||
makeFontsConf,
|
##makeFontsConf,
|
||||||
|
|
||||||
# used for graphviz (dot) see docs/Doxyfile.in
|
# used for graphviz (dot) see docs/Doxyfile.in
|
||||||
#helvetica-neue-lt-std,
|
#helvetica-neue-lt-std,
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
stdenv, cmake, catch2, # ... other deps here
|
stdenv, cmake, catch2, # ... other deps here
|
||||||
|
|
||||||
# 2. xo dependencies
|
# 2. xo dependencies
|
||||||
xo-cmake, xo-reflect,
|
xo-cmake,
|
||||||
|
|
||||||
# args
|
# args
|
||||||
|
|
||||||
|
|
@ -43,7 +43,7 @@ stdenv.mkDerivation (finalattrs:
|
||||||
name = "xo-unit";
|
name = "xo-unit";
|
||||||
|
|
||||||
src = (fetchGit {
|
src = (fetchGit {
|
||||||
url = "https://github.com/rconybea/xo-unit";
|
url = "https://github.com/rconybea/xo-ratio";
|
||||||
version = "1.0";
|
version = "1.0";
|
||||||
#ref = "ex1";
|
#ref = "ex1";
|
||||||
#rev = "c0472c9d7e4d2c53bfb977d3182380832fe96645";
|
#rev = "c0472c9d7e4d2c53bfb977d3182380832fe96645";
|
||||||
|
|
@ -56,7 +56,7 @@ stdenv.mkDerivation (finalattrs:
|
||||||
|
|
||||||
# move HOME so fontconfig can do sensible things
|
# move HOME so fontconfig can do sensible things
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
set -x
|
#set -x
|
||||||
|
|
||||||
echo "FONTCONFIG_FILE=$FONTCONFIG_FILE"
|
echo "FONTCONFIG_FILE=$FONTCONFIG_FILE"
|
||||||
|
|
||||||
|
|
@ -70,10 +70,14 @@ stdenv.mkDerivation (finalattrs:
|
||||||
|
|
||||||
#$fontconfig.out/bin/fc-cache -v
|
#$fontconfig.out/bin/fc-cache -v
|
||||||
|
|
||||||
make && make docs
|
#make && make docs
|
||||||
|
|
||||||
|
make && make install
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
nativeBuildInputs = [ cmake catch2 doxygen graphviz sphinx sphinx-rtd-theme breathe ];
|
nativeBuildInputs = [ cmake catch2
|
||||||
propagatedBuildInputs = [ xo-reflect ];
|
#doxygen graphviz sphinx sphinx-rtd-theme breathe
|
||||||
|
];
|
||||||
|
propagatedBuildInputs = [ ];
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue