{ stdenv, fetchFromGitHub, nix, cmake, pkgconfig, boost }: let version = "4.0.3"; in stdenv.mkDerivation { name = "nix-plugins-${version}"; src = fetchFromGitHub { owner = "shlevy"; repo = "nix-plugins"; rev = version; sha256 = "0dkrrh94s3gvym7hhdqivxzphsjh0828c0y6w6a51xdpm8rlajzj"; }; nativeBuildInputs = [ cmake pkgconfig ]; buildInputs = [ nix boost ]; meta = { description = "Collection of miscellaneous plugins for the nix expression language"; homepage = https://github.com/shlevy/nix-plugins; license = stdenv.lib.licenses.mit; platforms = stdenv.lib.platforms.all; }; }