nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 32 lines 887 B view raw
1{ lib, stdenv, fetchFromGitHub, pkg-config, python3, serd, pcre, wafHook }: 2 3stdenv.mkDerivation rec { 4 pname = "sord"; 5 version = "unstable-2021-01-12"; 6 7 # Commit picked in mitigation of #109729 8 src = fetchFromGitHub { 9 owner = "drobilla"; 10 repo = pname; 11 rev = "d2efdb2d026216449599350b55c2c85c0d3efb89"; 12 sha256 = "hHTwK+K6cj9MGO77a1IXiUZtEbXZ08cLGkYZ5eMOIVA="; 13 fetchSubmodules = true; 14 }; 15 16 preConfigure = '' 17 export PKGCONFIG="$PKG_CONFIG" 18 ''; 19 20 nativeBuildInputs = [ pkg-config python3 wafHook ]; 21 buildInputs = [ pcre ]; 22 propagatedBuildInputs = [ serd ]; 23 dontAddWafCrossFlags = true; 24 25 meta = with lib; { 26 homepage = "http://drobilla.net/software/sord"; 27 description = "A lightweight C library for storing RDF data in memory"; 28 license = licenses.mit; 29 maintainers = [ maintainers.goibhniu ]; 30 platforms = platforms.unix; 31 }; 32}