This commit is contained in:
Jeeves 2025-03-30 21:10:17 -06:00
commit d3809ac540
3 changed files with 103 additions and 0 deletions

29
default.nix Normal file
View file

@ -0,0 +1,29 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.stdenv.mkDerivation {
pname = "rcomage";
version = "1.1.2";
src = pkgs.fetchFromGitHub {
owner = "zingaburga";
repo = "RCOMage";
rev = "f5f01cf33d341b8dbc155809bc95f6bba5f8390b";
hash = "sha256-U0cEr26ET7DdEK0ESGM0czpbCQmsL3PeRomArb45Cx4=";
};
nativeBuildInputs = with pkgs; [
autoconf
automake
libtool
pkg-config
];
buildInputs = with pkgs; [
zlib
libxml2
];
preConfigure = "./autogen.sh";
preBuild = ''
NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -fpermissive"
'';
}