mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
18 lines
460 B
Nix
18 lines
460 B
Nix
{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 = "Utility to access SCSI device parameters";
|
|
license = licenses.bsd3;
|
|
platforms = with platforms; linux;
|
|
};
|
|
}
|