1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/pkgs/development/tools/knightos/scas/default.nix
2021-05-02 15:23:05 +07:00

28 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;
};
}