mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 01:33:10 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
25 lines
644 B
Nix
25 lines
644 B
Nix
{ stdenv, lib, fetchFromSourcehut, meson, ninja, pkg-config, wayland }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libscfg";
|
|
version = "0.1.1";
|
|
|
|
src = fetchFromSourcehut {
|
|
owner = "~emersion";
|
|
repo = "libscfg";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-aTcvs7QuDOx17U/yP37LhvIGxmm2WR/6qFYRtfjRN6w=";
|
|
};
|
|
|
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
|
buildInputs = [ wayland ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://sr.ht/~emersion/libscfg";
|
|
description = "Simple configuration file format";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ michaeladler ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|