Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv, fetchFromGitHub, nix, cmake, pkgconfig, boost }:
2let version = "6.0.0"; in
3stdenv.mkDerivation {
4 pname = "nix-plugins";
5 inherit version;
6
7 src = fetchFromGitHub {
8 owner = "shlevy";
9 repo = "nix-plugins";
10 rev = version;
11 sha256 = "08kxdci0sijj1hfkn3dbr7nbpb9xck0xr3xa3a0j116n4kvwb6qv";
12 };
13
14 nativeBuildInputs = [ cmake pkgconfig ];
15
16 buildInputs = [ nix boost ];
17
18 meta = {
19 description = "Collection of miscellaneous plugins for the nix expression language";
20 homepage = https://github.com/shlevy/nix-plugins;
21 license = stdenv.lib.licenses.mit;
22 platforms = stdenv.lib.platforms.all;
23 };
24}