3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

10 commits

Author SHA1 Message Date
Sandro Jäckel 8547db919a
treewide: switch `builtins.fromJSON(builtins.readFile ./file.json)` to lib.importJSON ./file.json 2021-11-03 14:43:52 +01:00
sternenseemann 2174bfe675 chroma: use -X ldflag to do variable substitution in cmd/chroma
Previously this was done rather hackily using substituteInPlace in
postFetch, however I've since found out that the way goreleaser does it
is actually quite accessible, since it just calls go with the
appropriate -X flags.

To avoid having to call git in the build to obtain the values and to not
rely on leaveDotGit, we can use the JSON populated by nix-prefetch-git
which contains the extra information we need: the commit hash and the
date.
2021-11-03 10:40:23 +01:00
sternenseemann 22a15615c7 chroma: 0.9.2 -> 0.9.4
cmd/chroma is no longer a sub package, but its own module which we need
to account for.
2021-11-03 10:40:23 +01:00
sternenseemann b5460f9ce2 chroma: do version info substitution in postFetch
This should increase reproducibility of the derivation as we can delete
the .git directory in the src derivation.
2021-06-30 12:34:34 +02:00
sternenseemann 801a040dee chroma: 0.9.1 -> 0.9.2 2021-06-30 12:34:34 +02:00
fortuneteller2k cbaa4db0ad chroma: update sha256 2021-05-08 19:25:00 -07:00
sternenseemann 85b653c9d4 chroma: 0.8.2 -> 0.9.1
https://github.com/alecthomas/chroma/releases/tag/v0.9.0
https://github.com/alecthomas/chroma/releases/tag/v0.9.1
2021-04-26 14:56:55 +02:00
sternenseemann b3aed95a6e chroma: 0.8.1 -> 0.8.2
Populate version information manually to avoid having to integrate
goreleaser into the build process.
2020-12-22 16:20:53 +01:00
sternenseemann e9f6ff878a chroma: 0.8.0 → 0.8.1 2020-09-25 14:14:56 +02:00
sternenseemann 1f6d8426fd chroma: init at 0.8.0 2020-08-15 00:56:12 +02:00