depot/third_party/nixpkgs/pkgs/development/tools/knightos/scas/default.nix
Default email 170c3b4027 Project import generated by Copybara.
GitOrigin-RevId: 7cb76200088f45cd24a9aa67fd2f9657943d78a4
2021-05-03 22:48:10 +02:00

27 lines
605 B
Nix

{ fetchFromGitHub, lib, stdenv, cmake }:
stdenv.mkDerivation rec {
pname = "scas";
version = "0.5.5";
src = fetchFromGitHub {
owner = "KnightOS";
repo = "scas";
rev = version;
sha256 = "sha256-JGQE+orVDKKJsTt8sIjPX+3yhpZkujISroQ6g19+MzU=";
};
cmakeFlags = [ "-DSCAS_LIBRARY=1" ];
strictDeps = true;
nativeBuildInputs = [ cmake ];
meta = with lib; {
homepage = "https://knightos.org/";
description = "Assembler and linker for the Z80";
license = licenses.mit;
maintainers = with maintainers; [ siraben ];
platforms = platforms.all;
};
}