Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
38 lines
798 B
Nix
38 lines
798 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libGDSII";
|
|
version = "0.21";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "HomerReid";
|
|
repo = "libGDSII";
|
|
rev = "v${version}";
|
|
hash = "sha256-EXEt7l69etcBdDdEDlD1ODOdhTBZCVjgY1jhRUDd/W0=";
|
|
};
|
|
|
|
# File is missing in the repo but automake requires it
|
|
postPatch = ''
|
|
touch ChangeLog
|
|
'';
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
meta = with lib; {
|
|
description = "Library and command-line utility for reading GDSII geometry files";
|
|
mainProgram = "GDSIIConvert";
|
|
homepage = "https://github.com/HomerReid/libGDSII";
|
|
license = [ licenses.gpl2Only ];
|
|
maintainers = with maintainers; [
|
|
sheepforce
|
|
markuskowa
|
|
];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|