nixos-config/pkgs/commander-x16/cc65.nix

21 lines
371 B
Nix
Raw Normal View History

2020-09-29 03:44:29 +00:00
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "cc65";
src = fetchFromGitHub {
owner = name;
repo = name;
rev = "b525554bfee3c3ddc5ddd7e58b4a20728f6c9cb1";
sha256 = "0san7n092bx823pliypvvsbhhzq9q39n1qqivjcyc2xab2dwir84";
};
buildPhase = ''
make PREFIX="$out"
'';
installPhase = ''
make install PREFIX="$out"
'';
}