10 pname = "semantic-release";
13 src = fetchFromGitHub {
14 owner = "semantic-release";
15 repo = "semantic-release";
17 hash = "sha256-YeTKW7Aq7VLCD8FabnqDTcgvSeHNa96ZT8KQ4KNrrw4=";
20 npmDepsHash = "sha256-pyTfdVdaHi8oABhI6GoHi6HusTUMEyngGAR2Tw5bF2c=";
26 ] ++ lib.optional stdenv.hostPlatform.isDarwin cctools;
28 # Fixes `semantic-release --version` output
30 substituteInPlace package.json --replace \
31 '"version": "0.0.0-development"' \
32 '"version": "${version}"'
36 description = "Fully automated version management and package publishing";
37 mainProgram = "semantic-release";
38 homepage = "https://semantic-release.gitbook.io/semantic-release/";
39 license = lib.licenses.mit;
40 maintainers = [ lib.maintainers.sestrella ];