nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 31 lines 818 B view raw
1{ 2 lib, 3 buildNpmPackage, 4 fetchFromGitHub, 5 nix-update-script, 6}: 7 8buildNpmPackage { 9 pname = "fixjson"; 10 version = "0-unstable-2023-01-06"; 11 12 src = fetchFromGitHub { 13 owner = "rhysd"; 14 repo = "fixjson"; 15 # Upstream has no tagged releases, but this commit bumps version 16 rev = "c49f27a0268fca69021fa8aafc9bbef9960f82e9"; 17 hash = "sha256-Hse2EBppeEBoMQjRI97MNYWlRDpoOMhkZ/nbhpFgH5c="; 18 }; 19 20 npmDepsHash = "sha256-mreSdJxFjSaz3kNoFC5ZSlBENA2sOLmsxS0VKW4o0z4="; 21 22 passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; }; 23 24 meta = { 25 description = "JSON Fixer for Humans using (relaxed) JSON5"; 26 homepage = "https://github.com/rhysd/fixjson"; 27 license = lib.licenses.mit; 28 mainProgram = "fixjson"; 29 maintainers = with lib.maintainers; [ pyrox0 ]; 30 }; 31}