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