summary refs log blame commit diff
path: root/pkgs/development/misc/loc/default.nix
blob: 4cb612523dc5f1792a42c6116372643bee909006 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                          



                      
                    


                          
                   
                 

                                                                    

    
                                                                       
 
                           
                                           

                                                
                                                   
                               


    
{ stdenv, fetchFromGitHub, rustPlatform }:

with rustPlatform;

buildRustPackage rec {
  version = "0.4.1";
  name = "loc-${version}";

  src = fetchFromGitHub {
    owner = "cgag";
    repo = "loc";
    rev = "v${version}";
    sha256 = "0086asrx48qlmc484pjz5r5znli85q6qgpfbd81gjlzylj7f57gg";
  };

  cargoSha256 = "0y2ww48vh667kkyg9pyjwcbh7fxi41bjnkhwp749crjqn2abimrk";

  meta = with stdenv.lib; {
    homepage = https://github.com/cgag/loc;
    description = "Count lines of code quickly";
    license = stdenv.lib.licenses.mit;
    maintainers = with stdenv.lib.maintainers; [ ];
    platforms = platforms.unix;
  };
}