3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/knightos/scas/default.nix

28 lines
605 B
Nix
Raw Normal View History

{ fetchFromGitHub, lib, stdenv, cmake }:
2020-07-29 11:08:51 +01:00
stdenv.mkDerivation rec {
pname = "scas";
2021-05-02 09:23:05 +01:00
version = "0.5.5";
2020-09-03 15:21:47 +01:00
2020-07-29 11:08:51 +01:00
src = fetchFromGitHub {
owner = "KnightOS";
repo = "scas";
rev = version;
2021-05-02 09:23:05 +01:00
sha256 = "sha256-JGQE+orVDKKJsTt8sIjPX+3yhpZkujISroQ6g19+MzU=";
2020-07-29 11:08:51 +01:00
};
2020-09-03 15:21:47 +01:00
2020-10-01 14:09:29 +01:00
cmakeFlags = [ "-DSCAS_LIBRARY=1" ];
2020-09-03 15:21:47 +01:00
strictDeps = true;
2020-10-01 14:09:29 +01:00
nativeBuildInputs = [ cmake ];
2020-09-03 15:21:47 +01:00
meta = with lib; {
2020-07-29 11:08:51 +01:00
homepage = "https://knightos.org/";
description = "Assembler and linker for the Z80";
2020-07-29 11:08:51 +01:00
license = licenses.mit;
maintainers = with maintainers; [ siraben ];
platforms = platforms.all;
2020-07-29 11:08:51 +01:00
};
}