Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2779725c35d9
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d9debbeacf7d
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on May 9, 2018

  1. input-utils: init at 1.3

    samueldr committed May 9, 2018
    Copy the full SHA
    4a2bf9c View commit details
  2. Merge pull request #40042 from samueldr/package/input-utils

    input-utils: init at 1.3
    matthewbauer authored May 9, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d9debbe View commit details
Showing with 32 additions and 0 deletions.
  1. +30 −0 pkgs/os-specific/linux/input-utils/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
30 changes: 30 additions & 0 deletions pkgs/os-specific/linux/input-utils/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{ stdenv, fetchurl, linuxHeaders }:

stdenv.mkDerivation rec {
name = "input-utils-${version}";
version = "1.3";

src = fetchurl {
url = "https://www.kraxel.org/releases/input/input-${version}.tar.gz";
sha256 = "11w0pp20knx6qpgzmawdbk1nj2z3fzp8yd6nag6s8bcga16w6hli";
};

prePatch = ''
# Use proper include path for kernel include files.
substituteInPlace ./name.sh --replace "/usr/include/linux/" "${linuxHeaders}/include/linux/"
substituteInPlace ./lirc.sh --replace "/usr/include/linux/" "${linuxHeaders}/include/linux/"
'';

makeFlags = [
"prefix=$(out)"
"STRIP=-s"
];

meta = with stdenv.lib; {
description = "Input layer utilities, includes lsinput";
homepage = https://www.kraxel.org/blog/linux/input/;
license = licenses.gpl2;
maintainers = with maintainers; [ samueldr ];
platforms = platforms.linux;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -3053,6 +3053,8 @@ with pkgs;

innoextract = callPackage ../tools/archivers/innoextract { };

input-utils = callPackage ../os-specific/linux/input-utils { };

intecture-agent = callPackage ../tools/admin/intecture/agent.nix { };

intecture-auth = callPackage ../tools/admin/intecture/auth.nix { };