2020-07-29 11:08:51 +01:00
|
|
|
{ fetchFromGitHub, stdenv, cmake }:
|
|
|
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "scas";
|
2020-09-03 15:21:47 +01:00
|
|
|
|
2020-07-29 11:08:51 +01:00
|
|
|
version = "0.4.6";
|
2020-09-03 15:21:47 +01:00
|
|
|
|
2020-07-29 11:08:51 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "KnightOS";
|
|
|
|
repo = "scas";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1c6s9nivbwgv0f8n7j73h54ydgqw5dcpq8l752dfrnqg3kv3nn0h";
|
|
|
|
};
|
2020-09-03 15:21:47 +01:00
|
|
|
|
2020-07-29 11:08:51 +01:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2020-09-03 15:21:47 +01:00
|
|
|
|
2020-07-29 11:08:51 +01:00
|
|
|
hardeningDisable = [ "format" ];
|
2020-09-03 15:21:47 +01:00
|
|
|
|
2020-07-29 11:08:51 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://knightos.org/";
|
2020-10-11 06:55:05 +01:00
|
|
|
description = "Assembler and linker for the Z80";
|
2020-07-29 11:08:51 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ siraben ];
|
|
|
|
};
|
|
|
|
}
|