libudev-zero.meta.pkgConfigModules: init
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
{ lib, stdenv, fetchFromGitHub }:
|
||||
{ lib, stdenv, fetchFromGitHub, testers }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "libudev-zero";
|
||||
version = "1.0.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "illiliti";
|
||||
repo = "libudev-zero";
|
||||
rev = version;
|
||||
rev = finalAttrs.version;
|
||||
sha256 = "sha256-NXDof1tfr66ywYhCBDlPa+8DUfFj6YH0dvSaxHFqsXI=";
|
||||
};
|
||||
|
||||
@@ -19,12 +19,17 @@ stdenv.mkDerivation rec {
|
||||
|
||||
installTargets = lib.optionals stdenv.hostPlatform.isStatic "install-static";
|
||||
|
||||
passthru.tests = {
|
||||
pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/illiliti/libudev-zero";
|
||||
description = "Daemonless replacement for libudev";
|
||||
changelog = "https://github.com/illiliti/libudev-zero/releases/tag/${version}";
|
||||
maintainers = with maintainers; [ qyliss shamilton ];
|
||||
license = licenses.isc;
|
||||
pkgConfigModules = [ "libudev" ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user