nixpkgs/pkgs/applications/misc/evtest/default.nix
Adam Joseph 0c922b4ea6 evtest: update sha256 hash
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.
2022-04-26 10:31:08 +02:00

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 ];
};
}