summary refs log blame commit diff
path: root/pkgs/tools/text/xsv/default.nix
blob: 960449cd0228330a9a0ba6daf3b9f690210574d8 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                          
 
                                   
                          
                     



                         

                                                                    

    
                                                                       



                                                       
                                                        



                                         
{ stdenv, fetchFromGitHub, rustPlatform }:

rustPlatform.buildRustPackage rec {
  name = "xsv-${version}";
  version = "0.13.0";

  src = fetchFromGitHub {
    owner = "BurntSushi";
    repo = "xsv";
    rev = version;
    sha256 = "17v1nw36mrarrd5yv4xd3mpc1d7lvhd5786mqkzyyraf78pjg045";
  };

  cargoSha256 = "1qk5wkjm3d4dz5fldlq7rjlm602v0l04hxrbar2j6vhcz9w2r4n6";

  meta = with stdenv.lib; {
    description = "A fast CSV toolkit written in Rust";
    homepage = https://github.com/BurntSushi/xsv;
    license = with licenses; [ unlicense /* or */ mit ];
    maintainers = [ maintainers.jgertm ];
    platforms = platforms.all;
  };
}