depot/third_party/nixpkgs/pkgs/development/libraries/sord/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

27 lines
794 B
Nix

{ lib, stdenv, fetchFromGitHub, pkg-config, python3, serd, pcre, wafHook }:
stdenv.mkDerivation rec {
pname = "sord";
version = "unstable-2021-01-12";
# Commit picked in mitigation of #109729
src = fetchFromGitHub {
owner = "drobilla";
repo = pname;
rev = "d2efdb2d026216449599350b55c2c85c0d3efb89";
sha256 = "hHTwK+K6cj9MGO77a1IXiUZtEbXZ08cLGkYZ5eMOIVA=";
fetchSubmodules = true;
};
nativeBuildInputs = [ pkg-config python3 wafHook ];
buildInputs = [ pcre ];
propagatedBuildInputs = [ serd ];
meta = with lib; {
homepage = "http://drobilla.net/software/sord";
description = "A lightweight C library for storing RDF data in memory";
license = licenses.mit;
maintainers = [ maintainers.goibhniu ];
platforms = platforms.unix;
};
}