2015-12-17 01:39:44 +00:00
|
|
|
{ stdenv, fetchgit, cmake }:
|
|
|
|
|
2016-01-24 19:31:44 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2015-12-17 01:39:44 +00:00
|
|
|
name = "uksmtools-${version}";
|
2016-01-24 19:31:44 +00:00
|
|
|
version = "2015-09-25";
|
2015-12-17 01:39:44 +00:00
|
|
|
|
2016-01-04 03:06:43 +00:00
|
|
|
# This project uses git submodules, which fetchFromGitHub doesn't support:
|
2015-12-17 01:39:44 +00:00
|
|
|
src = fetchgit {
|
|
|
|
sha256 = "0ngdmici2vgi2z02brzc3f78j1g1y9myzfxn46zlm1skg94fp692";
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|