evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / li / libGDSII / package.nix
blob095e0ee182a3df6d9b7526c4165fd86c31bf2b99
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , autoreconfHook
5 }:
7 stdenv.mkDerivation rec {
8   pname = "libGDSII";
9   version = "0.21";
11   src = fetchFromGitHub {
12     owner = "HomerReid";
13     repo = pname;
14     rev = "v${version}";
15     hash = "sha256-EXEt7l69etcBdDdEDlD1ODOdhTBZCVjgY1jhRUDd/W0=";
16   };
18   # File is missing in the repo but automake requires it
19   postPatch = ''
20     touch ChangeLog
21   '';
23   nativeBuildInputs = [ autoreconfHook ];
25   meta = with lib; {
26     description = "Library and command-line utility for reading GDSII geometry files";
27     mainProgram = "GDSIIConvert";
28     homepage = "https://github.com/HomerReid/libGDSII";
29     license = [ licenses.gpl2Only ];
30     maintainers = with maintainers; [ sheepforce markuskowa ];
31     platforms = platforms.linux;
32   };