{ pkgs ? import { } , stdenv ? pkgs.stdenv , lib ? stdenv.lib # A set providing `buildRustPackage :: attrsets -> derivation` , rustPlatform ? pkgs.rustPlatform , fetchFromGitHub ? pkgs.fetchFromGitHub , gitignoreSrc ? null , pkgconfig ? pkgs.pkgconfig }: let gitignoreSource = if gitignoreSrc != null then gitignoreSrc.gitignoreSource else (import (fetchFromGitHub { owner = "hercules-ci"; repo = "gitignore"; rev = "c4662e662462e7bf3c2a968483478a665d00e717"; sha256 = "0jx2x49p438ap6psy8513mc1nnpinmhm8ps0a4ngfms9jmvwrlbi"; }) { inherit lib; }).gitignoreSource; in rustPlatform.buildRustPackage rec { pname = "t-rs"; version = "0.3.0"; src = gitignoreSource ./.; buildInputs = []; nativeBuildInputs = [ pkgconfig ]; cargoSha256 = ""; meta = with stdenv.lib; { homepage = ""; description = "quickly create and manage temporary folders from the commandline"; license = licenses.mit; }; }