nixpkgs/pkgs/development/libraries/libudev-zero/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
880 B
Nix
Raw Normal View History

2022-03-21 23:05:27 +00:00
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "libudev-zero";
2022-03-21 23:05:27 +00:00
version = "1.0.1";
src = fetchFromGitHub {
owner = "illiliti";
repo = "libudev-zero";
rev = version;
2022-03-21 23:05:27 +00:00
sha256 = "1dg6zqy8w3gxca8clz6hhv4jyvz8jdwvpmn9y289nrms1zx1jcs5";
};
makeFlags = [ "PREFIX=$(out)" ];
# Just let the installPhase build stuff, because there's no
# non-install target that builds everything anyway.
dontBuild = true;
installTargets = lib.optionals stdenv.hostPlatform.isStatic "install-static";
meta = with lib; {
homepage = "https://github.com/illiliti/libudev-zero";
description = "Daemonless replacement for libudev";
2022-03-21 23:05:27 +00:00
changelog = "https://github.com/illiliti/libudev-zero/releases/tag/${version}";
maintainers = with maintainers; [ qyliss shamilton ];
license = licenses.isc;
platforms = platforms.linux;
};
}