nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildNpmPackage,
4 fetchFromGitHub,
5}:
6
7buildNpmPackage (finalAttrs: {
8 pname = "runmd";
9 version = "1.4.1";
10
11 src = fetchFromGitHub {
12 owner = "broofa";
13 repo = "runmd";
14 tag = "v${finalAttrs.version}";
15 hash = "sha256-NaHBoRp6VuQwobpew7b1us8t2vbVPR4OLe3p3suykOw=";
16 };
17
18 npmDepsHash = "sha256-0djcoEq1O6zubD8OTFNE0BrOebSiw4JAXxa6flbHLb0=";
19
20 dontNpmBuild = true;
21
22 meta = {
23 description = "Executable markdown files";
24 homepage = "https://github.com/broofa/runmd";
25 changelog = "https://github.com/broofa/runmd/blob/${finalAttrs.src.tag}/CHANGELOG.md";
26 license = lib.licenses.mit;
27 maintainers = [ ];
28 mainProgram = "runmd";
29 platforms = lib.platforms.all;
30 };
31})