nixpkgs/pkgs/by-name/ni/nix-lib-nmd/package.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
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/'
2024-06-09 23:07:45 +02:00

30 lines
696 B
Nix

{ lib, stdenv, fetchFromSourcehut }:
let version = "0.5.0";
in stdenv.mkDerivation {
pname = "nix-lib-nmd";
inherit version;
src = fetchFromSourcehut {
owner = "~rycee";
repo = "nmd";
rev = "v${version}";
hash = "sha256-x3zzcdvhJpodsmdjqB4t5mkVW22V3wqHLOun0KRBzUI=";
};
outputHashMode = "recursive";
outputHash = "sha256-7BQmDJBo7rzv0rgfRiUAR3HvKkUHQ6x0umhBRhAAyzM=";
installPhase = ''
mkdir -v "$out"
cp -rv * "$out"
'';
meta = {
homepage = "https://git.sr.ht/~rycee/nmd";
description = "Documentation framework for projects based on NixOS modules";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ rycee ];
};
}