2020-08-20 17:08:02 +00:00
|
|
|
{ fetchFromGitHub, stdenv, cmake }:
|
|
|
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "scas";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
version = "0.4.6";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "KnightOS";
|
|
|
|
repo = "scas";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1c6s9nivbwgv0f8n7j73h54ydgqw5dcpq8l752dfrnqg3kv3nn0h";
|
|
|
|
};
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
hardeningDisable = [ "format" ];
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://knightos.org/";
|
|
|
|
description = "Assembler and linker for the Z80.";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ siraben ];
|
|
|
|
};
|
|
|
|
}
|