Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 18 lines 460 B view raw
1{lib, stdenv, fetchurl}: 2 3stdenv.mkDerivation rec { 4 pname = "sdparm"; 5 version = "1.12"; 6 7 src = fetchurl { 8 url = "http://sg.danny.cz/sg/p/${pname}-${version}.tar.xz"; 9 sha256 = "sha256-xMnvr9vrZi4vlxJwfsSQkyvU0BC7ESmueplSZUburb4="; 10 }; 11 12 meta = with lib; { 13 homepage = "http://sg.danny.cz/sg/sdparm.html"; 14 description = "Utility to access SCSI device parameters"; 15 license = licenses.bsd3; 16 platforms = with platforms; linux; 17 }; 18}