about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/uksmtools/default.nix
blob: 4efc2d42f2be1b0a1bce222a7b10b5ae2c04f5d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ stdenv, fetchgit, cmake }:

stdenv.mkDerivation rec {
  name = "uksmtools-${version}";
  version = "2015-09-25";

  # This project uses git submodules, which fetchFromGitHub doesn't support:
  src = fetchgit {
    sha256 = "1nj53f24qjp0d87fzrz0y72rmv6lhxyiaqrsbd9v423h5zpmkrnj";
    rev = "9f59a3a0b494b758aa91d7d8fa04e21b5e6463c0";
    url = "https://github.com/pfactum/uksmtools.git";
  };

  nativeBuildInputs = [ cmake ];

  enableParallelBuilding = true;

  doCheck = false;

  meta = with stdenv.lib; {
    description = "Tools to control Linux UKSM (Ultra Kernel Same-page Merging)";
    homepage = https://github.com/pfactum/uksmtools/;
    license = licenses.gpl3Plus;
    platforms = platforms.linux;
    maintainers = with maintainers; [ nckx ];
  };
}