mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
hareThirdParty.hare-json: unstable-2023-09-21 -> unstable-2023-03-13
Although the version date is going back in time, the commit, 88256102[1], is newer than the one on e24e5dceb[2], as it may be seen from the Sourcehut's log[3]. Also refactor the `configurePhase` into `makeFlags`. [1]:88256102a9
[2]:e24e5dceb8
[3]: https://git.sr.ht/~sircmpwn/hare-json/log
This commit is contained in:
parent
494bd4255c
commit
521b9c3d36
@ -2,29 +2,21 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "hare-json";
|
||||
version = "unstable-2023-09-21";
|
||||
version = "unstable-2023-03-13";
|
||||
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~sircmpwn";
|
||||
repo = "hare-json";
|
||||
rev = "e24e5dceb8628ff569338e6c4fdba35a5017c5e2";
|
||||
hash = "sha256-7QRieokqXarKwLfZynS8Rum9JV9hcxod00BWAUwwliM=";
|
||||
rev = "88256102a9fec62d494628e32cb406574e49e5e1";
|
||||
hash = "sha256-Sx+RBiLhR3ftP89AwinVlBg0u0HX4GVP7TLmuofgC9s=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ hare ];
|
||||
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
|
||||
export HARECACHE="$NIX_BUILD_TOP/.harecache"
|
||||
export BINOUT="$NIX_BUILD_TOP/.bin"
|
||||
|
||||
makeFlagsArray+=(
|
||||
PREFIX="${builtins.placeholder "out"}"
|
||||
)
|
||||
|
||||
runHook postConfigure
|
||||
'';
|
||||
makeFlags = [
|
||||
"HARECACHE=.harecache"
|
||||
"PREFIX=${builtins.placeholder "out"}"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user