evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / et / ethercat / package.nix
blobadd1fe101f214da29495b9e52d067c7276e2b7a4
1 { autoreconfHook
2 , lib
3 , pkg-config
4 , stdenv
5 , fetchFromGitLab
6 , gitUpdater
7 }:
8 stdenv.mkDerivation (finalAttrs: {
9   pname = "ethercat";
10   version = "1.6.1";
12   src = fetchFromGitLab {
13     owner = "etherlab.org";
14     repo = "ethercat";
15     rev = "refs/tags/${finalAttrs.version}";
16     hash = "sha256-fvuyADZzH1lHo1TkGd9s3n2n8y9vsGgs/ZOakIw48WI=";
17   };
19   separateDebugInfo = true;
21   nativeBuildInputs = [ autoreconfHook pkg-config ];
23   configureFlags = [
24     "--enable-userlib=yes"
25     "--enable-kernel=no"
26   ];
28   passthru.updateScript = gitUpdater { };
30   meta = with lib; {
31     description = "IgH EtherCAT Master for Linux";
32     homepage = "https://etherlab.org/ethercat";
33     changelog = "https://gitlab.com/etherlab.org/ethercat/-/blob/${finalAttrs.version}/NEWS";
34     license = licenses.gpl2Plus;
35     maintainers = with maintainers; [ stv0g ];
36     platforms = [ "x86_64-linux" ];
37   };