9 stdenv.mkDerivation rec {
13 src = fetchFromGitHub {
14 owner = "keystone-engine";
17 sha256 = "020d1l1aqb82g36l8lyfn2j8c660mm6sh1nl4haiykwgdl9xnxfa";
21 "-DBUILD_SHARED_LIBS=ON"
22 "-DCMAKE_INSTALL_LIBDIR=lib"
29 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
30 # TODO: could be replaced by setting CMAKE_INSTALL_NAME_DIR?
35 description = "Lightweight multi-platform, multi-architecture assembler framework";
36 homepage = "https://www.keystone-engine.org";
37 license = licenses.gpl2Only;
38 maintainers = with maintainers; [ luc65r ];
39 mainProgram = "kstool";
40 platforms = platforms.unix;