Skip to content

Commit 9e4be53

Browse files
committed
treewide: add meta.mainProgram to some libraries
where a single bin is provided and someone might actually want to run it
1 parent 16e15fa commit 9e4be53

72 files changed

Lines changed: 139 additions & 64 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

pkgs/development/libraries/appstream/default.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,14 +93,15 @@ stdenv.mkDerivation rec {
9393

9494
meta = with lib; {
9595
description = "Software metadata handling library";
96-
homepage = "https://www.freedesktop.org/wiki/Distributions/AppStream/";
9796
longDescription = ''
9897
AppStream is a cross-distro effort for building Software-Center applications
9998
and enhancing metadata provided by software components. It provides
10099
specifications for meta-information which is shipped by upstream projects and
101100
can be consumed by other software.
102101
'';
102+
homepage = "https://www.freedesktop.org/wiki/Distributions/AppStream/";
103103
license = licenses.lgpl21Plus;
104+
mainProgram = "appstreamcli";
104105
platforms = platforms.unix;
105106
};
106107
}

pkgs/development/libraries/aribb25/default.nix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,11 @@ stdenv.mkDerivation rec {
4848
lib.optional stdenv.isDarwin "pcsclite_CFLAGS=-I${PCSC}/Library/Frameworks/PCSC.framework/Headers";
4949

5050
meta = with lib; {
51-
homepage = "https://code.videolan.org/videolan/aribb25";
5251
description = "Sample implementation of the ARIB STD-B25 standard";
53-
platforms = platforms.all;
52+
homepage = "https://code.videolan.org/videolan/aribb25";
5453
license = licenses.isc;
5554
maintainers = with maintainers; [ midchildan ];
55+
mainProgram = "b25";
56+
platforms = platforms.all;
5657
};
5758
}

pkgs/development/libraries/audio/libsmf/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ stdenv.mkDerivation rec {
1919
homepage = "https://github.com/stump/libsmf";
2020
license = licenses.bsd2;
2121
maintainers = [ maintainers.goibhniu ];
22+
mainProgram = "smfsh";
2223
platforms = platforms.unix;
2324
};
2425
}

pkgs/development/libraries/aws-c-s3/default.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ stdenv.mkDerivation rec {
4444
description = "C99 library implementation for communicating with the S3 service";
4545
homepage = "https://github.com/awslabs/aws-c-s3";
4646
license = licenses.asl20;
47-
platforms = platforms.unix;
4847
maintainers = with maintainers; [ r-burns ];
48+
mainProgram = "s3";
49+
platforms = platforms.unix;
4950
};
5051
}

pkgs/development/libraries/boolstuff/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ stdenv.mkDerivation rec {
1515
homepage = "http://perso.b2b2c.ca/~sarrazip/dev/boolstuff.html";
1616
license = "GPL";
1717
maintainers = [ lib.maintainers.marcweber ];
18+
mainProgram = "booldnf";
1819
platforms = lib.platforms.all;
1920
};
2021
}

pkgs/development/libraries/capstone/default.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ stdenv.mkDerivation rec {
3939
description = "Advanced disassembly library";
4040
homepage = "http://www.capstone-engine.org";
4141
license = lib.licenses.bsd3;
42-
platforms = lib.platforms.unix;
4342
maintainers = with lib.maintainers; [ thoughtpolice ris ];
43+
mainProgram = "cstool";
44+
platforms = lib.platforms.unix;
4445
};
4546
}

pkgs/development/libraries/check/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ stdenv.mkDerivation rec {
3131
homepage = "https://libcheck.github.io/check/";
3232

3333
license = licenses.lgpl2Plus;
34+
mainProgram = "checkmk";
3435
platforms = platforms.all;
3536
};
3637
}

pkgs/development/libraries/faad2/default.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ stdenv.mkDerivation rec {
2121

2222
meta = {
2323
description = "An open source MPEG-4 and MPEG-2 AAC decoder";
24+
homepage = "https://sourceforge.net/projects/faac/";
2425
license = licenses.gpl2Plus;
2526
maintainers = with maintainers; [ codyopel ];
27+
mainProgram = "faad";
2628
platforms = platforms.all;
2729
};
2830
}

pkgs/development/libraries/fcgi/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ stdenv.mkDerivation rec {
1919
description = "A language independent, scalable, open extension to CG";
2020
homepage = "https://fastcgi-archives.github.io/"; # Formerly http://www.fastcgi.com/
2121
license = "FastCGI see LICENSE.TERMS";
22+
mainProgram = "cgi-fcgi";
2223
platforms = platforms.all;
2324
};
2425
}

pkgs/development/libraries/flatbuffers/generic.nix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,10 @@ stdenv.mkDerivation rec {
3838
access serialized data without unpacking/parsing it first, while still
3939
having great forwards/backwards compatibility.
4040
'';
41-
maintainers = [ maintainers.teh ];
41+
homepage = "https://google.github.io/flatbuffers/";
4242
license = licenses.asl20;
43+
maintainers = [ maintainers.teh ];
44+
mainProgram = "flatc";
4345
platforms = platforms.unix;
44-
homepage = "https://google.github.io/flatbuffers/";
4546
};
4647
}

0 commit comments

Comments
 (0)