pkgs: add metadata and standardize

This commit is contained in:
Timothy DeHerrera 2020-06-19 14:55:30 -06:00
parent 1c3216630d
commit d1c0b0f6ec
No known key found for this signature in database
GPG Key ID: 8985725DB5B0C122
7 changed files with 30 additions and 7 deletions

View File

@ -48,9 +48,7 @@
overlayPaths = map fullPath (attrNames (readDir overlayDir)); overlayPaths = map fullPath (attrNames (readDir overlayDir));
in pathsToImportedAttrs overlayPaths; in pathsToImportedAttrs overlayPaths;
packages.x86_64-linux = { packages.x86_64-linux = self.overlay pkgs pkgs;
inherit (pkgs) sddm-chili dejavu_nerdfont purs pure;
};
nixosModules = let nixosModules = let
# modules # modules

View File

@ -2,6 +2,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "sddm-chili"; name = "sddm-chili";
version = "0.5.5"; version = "0.5.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "MarianArlt"; owner = "MarianArlt";
repo = "kde-plasma-chili"; repo = "kde-plasma-chili";

View File

@ -1,7 +1,7 @@
{ stdenv, fetchzip }: { stdenv, fetchzip }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "dejavu-nerdfont-${version}"; pname = "dejavu-nerdfont";
version = "2.0.0"; version = "2.0.0";
src = fetchzip { src = fetchzip {

View File

@ -1,7 +1,7 @@
{ stdenv, meson, ninja, fetchFromGitHub, ... }: { stdenv, meson, ninja, fetchFromGitHub, ... }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "libinih"; pname = "libinih";
version = "r50"; version = "r50";
src = fetchFromGitHub { src = fetchFromGitHub {
@ -17,4 +17,12 @@ stdenv.mkDerivation rec {
-Ddefault_library=shared -Ddefault_library=shared
-Ddistro_install=true -Ddistro_install=true
''; '';
meta = with stdenv.lib; {
description = "Simple .INI file parser in C";
homepage = "https://github.com/benhoyt/inih";
maintainers = [ maintainers.nrdxp ];
license = licenses.bsd3;
inherit version;
};
} }

View File

@ -1,7 +1,8 @@
{ stdenv, fetchFromGitHub, pkgconfig, libudev, libusb, ... }: { stdenv, fetchFromGitHub, pkgconfig, libudev, libusb, ... }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "wii-u-gc-adapter"; pname = "wii-u-gc-adapter";
version = "ae6b46d";
buildInputs = [ pkgconfig libudev libusb ]; buildInputs = [ pkgconfig libudev libusb ];
@ -18,4 +19,12 @@ stdenv.mkDerivation {
''; '';
hardeningDisable = [ "format" ]; hardeningDisable = [ "format" ];
meta = with stdenv.lib; {
description = "Tool for using the Wii U GameCube Adapter on Linux";
homepage = "https://github.com/ToadKing/wii-u-gc-adapter";
maintainers = [ maintainers.nrdxp ];
license = licenses.mit;
inherit version;
};
} }

View File

@ -29,4 +29,11 @@ stdenv.mkDerivation rec {
-Dwith-systemd-user-unit-dir=${placeholder "out"}/lib/systemd/user -Dwith-systemd-user-unit-dir=${placeholder "out"}/lib/systemd/user
''; '';
meta = with stdenv.lib; {
description = "Optimise Linux system performance on demand";
homepage = "https://github.com/FeralInteractive/gamemode";
maintainers = [ maintainers.nrdxp ];
license = licenses.bsd3;
inherit version;
};
} }

View File

@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, openssl, pkgconfig, rustPlatform }: { stdenv, fetchFromGitHub, openssl, pkgconfig, rustPlatform }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "pure-${version}"; pname = "pure";
version = "0e87bd8"; version = "0e87bd8";
srcs = fetchFromGitHub { srcs = fetchFromGitHub {