nixpkgs/pkgs/by-name/ac/acme/package.nix
aleksana 571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00

33 lines
793 B
Nix

{ lib, stdenv, fetchsvn }:
stdenv.mkDerivation rec {
pname = "acme";
version = "unstable-2021-11-05";
src = fetchsvn {
url = "svn://svn.code.sf.net/p/acme-crossass/code-0/trunk";
rev = "323";
sha256 = "1dzvip90yf1wg0fhfghn96dwrhg289d06b624px9a2wwy3vp5ryg";
};
sourceRoot = "${src.name}/src";
postPatch = ''
substituteInPlace Makefile \
--replace "= gcc" "?= gcc"
'';
enableParallelBuilding = true;
makeFlags = [ "BINDIR=$(out)/bin" ];
meta = with lib; {
description = "Multi-platform cross assembler for 6502/6510/65816 CPUs";
mainProgram = "acme";
homepage = "https://sourceforge.net/projects/acme-crossass/";
license = licenses.gpl2Plus;
platforms = platforms.all;
maintainers = with maintainers; [ OPNA2608 ];
};
}