nixos-config/pkgs/nix-plugins/default.nix

33 lines
705 B
Nix
Raw Normal View History

2022-03-01 22:19:03 +01:00
{
lib,
stdenv,
fetchFromGitHub,
nixUnstable,
cmake,
pkg-config,
boost,
nlohmann_json,
}:
2021-11-25 17:18:13 +01:00
stdenv.mkDerivation rec {
pname = "nix-plugins";
version = "d0df32b31f3054180741adf5865fd56d6731c572";
src = fetchFromGitHub {
owner = "shlevy";
repo = "nix-plugins";
rev = version;
sha256 = "sha256-Zbc0iq5ZAr73B+NJvpBHm9GIJhb9qrq0vFmV/ucNT5I=";
};
2022-03-01 22:19:03 +01:00
nativeBuildInputs = [cmake pkg-config];
2021-11-25 17:18:13 +01:00
2022-03-01 22:19:03 +01:00
buildInputs = [nixUnstable boost nlohmann_json];
2021-11-25 17:18:13 +01:00
meta = {
description = "Collection of miscellaneous plugins for the nix expression language";
homepage = "https://github.com/shlevy/nix-plugins";
license = lib.licenses.mit;
platforms = lib.platforms.all;
};
}