summary refs log blame commit diff
path: root/pkgs/os-specific/linux/sdparm/default.nix
blob: e0392e442bf51d0fe6b4b4d194816b3f23b0eafa (plain) (tree)
1
2
3
4
5
6
7
8
9

                   
                         
                   
                   

                  
                                                               
                                                                    

    
                           
                                                   
                                                               
                            
                                      

    
{stdenv, fetchurl}:

stdenv.mkDerivation rec {
  pname = "sdparm";
  version = "1.11";

  src = fetchurl {
    url = "http://sg.danny.cz/sg/p/${pname}-${version}.tar.xz";
    sha256 = "1nqjc4w2w47zavcbf5xmm53x1zbwgljaw1lpajcdi537cgy32fa8";
  };

  meta = with stdenv.lib; {
    homepage = "http://sg.danny.cz/sg/sdparm.html";
    description = "A utility to access SCSI device parameters";
    license = licenses.bsd3;
    platforms = with platforms; linux;
  };
}