forked from mirrors/nixpkgs
e37d772beb
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
19 lines
326 B
Nix
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;
|
|
};
|
|
}
|