nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 stdenv,
3 lib,
4 fetchFromGitHub,
5 cmake,
6 tinycmmc,
7}:
8
9stdenv.mkDerivation {
10 pname = "uitest";
11 version = "0-unstable-2024-05-26";
12
13 src = fetchFromGitHub {
14 owner = "Grumbel";
15 repo = "uitest";
16 rev = "d845427140cbcbce99bb6c72919199ac5f033784";
17 sha256 = "sha256-xD2Ecs9hW3lcQW6RNcjVhGX/eor2RbCHHXohTafC9y0=";
18 };
19
20 nativeBuildInputs = [ cmake ];
21 buildInputs = [ tinycmmc ];
22
23 postPatch = ''
24 substituteInPlace CMakeLists.txt \
25 --replace-fail "cmake_minimum_required(VERSION 3.0)" "cmake_minimum_required(VERSION 3.10)"
26 '';
27
28 meta = {
29 description = "Simple testing framework for interactive tests";
30 maintainers = [ lib.maintainers.SchweGELBin ];
31 platforms = lib.platforms.linux;
32 license = lib.licenses.gpl3;
33 };
34}