33 lines
726 B
Nix
33 lines
726 B
Nix
|
x@{builderDefsPackage
|
||
|
, redland, pkgconfig, gmp
|
||
|
, ...}:
|
||
|
builderDefsPackage
|
||
|
(a :
|
||
|
let
|
||
|
s = import ./src-for-default.nix;
|
||
|
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
||
|
[];
|
||
|
buildInputs = map (n: builtins.getAttr n x)
|
||
|
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
||
|
in
|
||
|
rec {
|
||
|
src = a.fetchUrlFromSrcInfo s;
|
||
|
|
||
|
inherit (s) name;
|
||
|
inherit buildInputs;
|
||
|
|
||
|
/* doConfigure should be removed if not needed */
|
||
|
phaseNames = ["doConfigure" "doMakeInstall"];
|
||
|
|
||
|
meta = {
|
||
|
description = "An HTTP interface to Redland RDF store";
|
||
|
maintainers = with a.lib.maintainers;
|
||
|
[
|
||
|
raskin
|
||
|
];
|
||
|
platforms = with a.lib.platforms;
|
||
|
linux ++ freebsd ++ gnu;
|
||
|
};
|
||
|
}) x
|
||
|
|