let pkgs =  import <nixpkgs> {};

in pkgs.stdenv.mkDerivation {
	name = "velartrill-util";
	buildInputs = with pkgs; [
		coreutils gnumake gcc ocaml binutils-unwrapped
		glibc xorg.libX11.dev libsodium
	];
	src = ./.;

	meta = with pkgs.stdenv.lib; {
		description = "a collection of handy utilities for a variety of tasks ranging from unit conversion to password generation to the manipulation of disobedient software";
		homepage = https://c.hale.su/util;
		license = licenses.agpl3;
		platforms = platforms.all;
	};
}
