mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +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/'
30 lines
696 B
Nix
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 ];
|
|
};
|
|
}
|