sg3_utils: convert to pname + version

This commit is contained in:
Sandro Jäckel 2021-08-11 12:46:58 +02:00 committed by Raphael Megzari
parent 31a04e99f6
commit 4b1bccf57a

View file

@ -1,15 +1,16 @@
{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "sg3_utils-1.46r862";
pname = "sg3_utils";
version = "1.46r862";
src = fetchurl {
url = "http://sg.danny.cz/sg/p/${name}.tgz";
url = "http://sg.danny.cz/sg/p/sg3_utils-${version}.tgz";
sha256 = "sha256-s2UmU+p3s7Hoe+GFri2q+/3XLBICc+h04cxM86yaAs8=";
};
meta = with lib; {
homepage = "http://sg.danny.cz/sg/";
homepage = "https://sg.danny.cz/sg/";
description = "Utilities that send SCSI commands to devices";
platforms = platforms.linux;
license = with licenses; [ bsd2 gpl2Plus ];