16 stdenv.mkDerivation rec {
28 url = "https://download.drobilla.net/${pname}-${version}.tar.xz";
29 hash = "sha256-333CyW8rod7P11bkWOBh3tfYFY0lVVTnaTSDrAljxWs=";
48 updateScript = writeScript "update-poke" ''
49 #!/usr/bin/env nix-shell
50 #!nix-shell -i bash -p curl pcre common-updater-scripts
54 # Expect the text in format of 'download.drobilla.net/serd-0.30.16.tar.xz">'
55 new_version="$(curl -s https://drobilla.net/category/serd/ |
56 pcregrep -o1 'download.drobilla.net/serd-([0-9.]+).tar.xz' |
58 update-source-version ${pname} "$new_version"
63 description = "Lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples";
64 homepage = "https://drobilla.net/software/serd";
65 license = lib.licenses.isc;
66 maintainers = with lib.maintainers; [ samueltardieu ];
67 mainProgram = "serdi";
68 platforms = lib.platforms.unix;