depot/third_party/nixpkgs/pkgs/os-specific/linux/numworks-udev-rules/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

21 lines
547 B
Nix

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "numworks-udev-rules";
version = "unstable-2020-08-31";
udevRules = ./50-numworks-calculator.rules;
dontUnpack = true;
installPhase = ''
install -Dm 644 "${udevRules}" "$out/lib/udev/rules.d/50-numworks-calculator.rules"
'';
meta = with lib; {
description = "Udev rules for Numworks calculators";
homepage = "https://numworks.com";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ shamilton ];
platforms = platforms.linux;
};
}