mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-23 04:25:14 +00:00

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.
26 lines
800 B
Nix
26 lines
800 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "hidrd";
|
|
version = "unstable-2019-06-03";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "DIGImend";
|
|
repo = "hidrd";
|
|
rev = "6c0ed39708a5777ac620f902f39c8a0e03eefe4e";
|
|
sha256 = "1rnhq6b0nrmphdig1qrpzpbpqlg3943gzpw0v7p5rwcdynb6bb94";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
meta = with lib; {
|
|
description = "HID report descriptor I/O library and conversion tool";
|
|
homepage = "https://github.com/DIGImend/hidrd";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ pacien ];
|
|
platforms = platforms.all;
|
|
broken = stdenv.hostPlatform.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/hidrd.x86_64-darwin
|
|
mainProgram = "hidrd-convert";
|
|
};
|
|
}
|