3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/science/electronics/kicad/i18n.nix
Evils e37d772beb kicad: avoid rebuild on date change
the date changes more often than most of the inputs
the date can also change on the base without other changes
  this causes a substantial rebuild for no reason
2021-05-14 09:03:53 +02:00

19 lines
326 B
Nix

{ lib, stdenv
, cmake
, gettext
, src
}:
stdenv.mkDerivation {
inherit src;
pname = "kicad-i18n";
version = builtins.substring 0 10 src.rev;
nativeBuildInputs = [ cmake gettext ];
meta = with lib; {
license = licenses.gpl2; # https://github.com/KiCad/kicad-i18n/issues/3
platforms = platforms.all;
};
}