{ stdenv , lib , glibc }: stdenv.mkDerivation rec { pname = "nixtools"; version = "${src.shortRev}"; src = builtins.fetchGit { url = "ssh://git@bscpm04.bsc.es/rarias/nixtools"; ref = "master"; rev = "a103e392048ace3ed88ce74648b32c9e6ed094da"; }; buildInputs = [ glibc.static ]; makeFlags = [ "DESTDIR=$(out)" ]; preBuild = "env"; dontPatchShebangs = true; meta = with lib; { homepage = "https://gitlab.pm.bsc.es/rarias/nixtools"; description = "nix bubblewrap wrapper"; maintainers = with maintainers.bsc; [ rarias ]; platforms = platforms.linux; license = licenses.gpl3Plus; # TODO: license? }; }