mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
20 lines
371 B
Nix
20 lines
371 B
Nix
{ 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"
|
|
'';
|
|
}
|