mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
0c922b4ea6
Commit 6df37c9aab
bumped the version of
evtest but failed to update the hash. As a result, hosts which
already have evtest-1.33 source present will build the old version but
label it as evtest-1.34. Hosts which lack the older source code will
fail their builds. This commit corrects the issue.
We should think about a way to get Hydra to catch issues like this.
Maybe require that if two FODs have different hashes then they must
have different `${pname}-${version}`s? Only for FODs, of course.
23 lines
600 B
Nix
23 lines
600 B
Nix
{ lib, stdenv, fetchgit, autoreconfHook, pkg-config, libxml2 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "evtest";
|
|
version = "1.34";
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
buildInputs = [ libxml2 ];
|
|
|
|
src = fetchgit {
|
|
url = "git://anongit.freedesktop.org/${pname}";
|
|
rev = "refs/tags/${pname}-${version}";
|
|
sha256 = "sha256-0UGcoGkNF/19aSTWNEFAmZP7seL/yObXsOLlZLiyG2Q=";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Simple tool for input event debugging";
|
|
license = lib.licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.bjornfor ];
|
|
};
|
|
}
|