Created
July 25, 2024 03:21
-
-
Save caseyavila/05862db1fcc8b4544bd9dcc9ecc444b9 to your computer and use it in GitHub Desktop.
TiLP on NixOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs> {}; | |
lib.fix (self: { | |
tilp = stdenv.mkDerivation { | |
name = "tilp"; | |
src = fetchurl { | |
url = "https://www.ticalc.org/pub/unix/tilp.tar.gz"; | |
sha256 = "1mww2pjzvlbnjp2z57qf465nilfjmqi451marhc9ikmvzpvk9a3b"; | |
}; | |
postUnpack = '' | |
sed -i -e '/AC_PATH_KDE/d' tilp2-1.18/configure.ac || die | |
sed -i \ | |
-e 's/@[^@]*\(KDE\|QT\|KIO\)[^@]*@//g' \ | |
-e 's/@X_LDFLAGS@//g' \ | |
tilp2-1.18/src/Makefile.am || die | |
''; | |
nativeBuildInputs = [ autoreconfHook pkg-config intltool libtifiles2 libticalcs2 libticables2 libticonv gtk2 ]; | |
buildInputs = [ glib ]; | |
}; | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment