44 lines
776 B
Nix
44 lines
776 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
stdenv,
|
|
meson,
|
|
ninja,
|
|
pkg-config,
|
|
|
|
lix,
|
|
boost182,
|
|
}: stdenv.mkDerivation {
|
|
name = "lix-plugins";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "shlevy";
|
|
repo = "nix-plugins";
|
|
rev = "15.0.0";
|
|
hash = "sha256-C4VqKHi6nVAHuXVhqvTRRyn0Bb619ez4LzgUWPH1cbM=";
|
|
};
|
|
patches = [ ./0001-implement-lix-support.patch ];
|
|
|
|
mesonBuildType = "release";
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
lix
|
|
boost182
|
|
(lix.capnproto-lix)
|
|
];
|
|
|
|
meta = {
|
|
description = "Collection of miscellaneous plugins for the nix expression language.";
|
|
homepage = "https://github.com/shlevy/nix-plugins";
|
|
license = lib.licenses.mit;
|
|
maintainers = [];
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|