mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
25 lines
596 B
Nix
25 lines
596 B
Nix
{lib, stdenv, fetchurl}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "idle3-tools";
|
|
version = "0.9.1";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/idle3-tools/idle3-tools-${version}.tgz";
|
|
sha256 = "00ia7xq9yldxyl9gz0mr4xa568nav14p0fnv82f2rbbkg060cy4p";
|
|
};
|
|
|
|
preInstall = ''
|
|
installFlags=DESTDIR=$out
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "https://idle3-tools.sourceforge.net/";
|
|
description = "Tool to get/set the infamous idle3 timer in WD HDDs";
|
|
license = lib.licenses.gpl3;
|
|
maintainers = [ ];
|
|
platforms = with lib.platforms; linux;
|
|
mainProgram = "idle3ctl";
|
|
};
|
|
}
|