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

                  
                                                               
                                                                   

    
                    
                                                   
                                                               
                            
                                      

    
{lib, stdenv, fetchurl}:

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

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

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