Files
vcmi/nix/libsquish.nix
T
Balint66 599acfe7b2 Add nix development shell and packaging (#6575)
* Init for nix

* Format and modularise

* A bit more modularisation, and fixing the build process

* Make none-flakey shell working
2026-01-09 13:05:58 +00:00

22 lines
433 B
Nix

{
stdenv,
fetchsvn,
source ?
fetchsvn {
url = "svn://svn.code.sf.net/p/libsquish/code/trunk";
rev = "r111";
sha256 = "sha256-LMIpTIvFkGbBs3Ns2oVuIz3ulk/9DG0KMn8wNSJctEk=";
},
version ? "1.15",
cmake,
}:
stdenv.mkDerivation {
inherit version;
pname = "libsquish";
src = source;
buildInputs = [];
nativeBuildInputs = [cmake];
doCheck = true;
cmakeFlags = ["-DBUILD_SHARED_LIBS=ON"];
}