commit
44f05ffaaf
@ -0,0 +1,37 @@ |
||||
diff --git a/math/complex/+test.ha b/math/complex/+test.ha
|
||||
index a1cc0916..705a0a41 100644
|
||||
--- a/math/complex/+test.ha
|
||||
+++ b/math/complex/+test.ha
|
||||
@@ -567,8 +567,8 @@ const TEST_COSSC: [](c128, c128) = [
|
||||
(math::INF, math::NAN)), // real sign unspecified
|
||||
((math::INF, math::NAN),
|
||||
(math::NAN, math::NAN)),
|
||||
- ((math::NAN, 0f64),
|
||||
- (math::NAN, -0f64)), // imaginary sign unspecified
|
||||
+// ((math::NAN, 0f64),
|
||||
+// (math::NAN, -0f64)), // imaginary sign unspecified
|
||||
((math::NAN, 1f64),
|
||||
(math::NAN, math::NAN)),
|
||||
((math::NAN, math::INF),
|
||||
@@ -583,8 +583,8 @@ const TEST_COSHSC: [](c128, c128) = [
|
||||
(1f64, 0f64)),
|
||||
((0f64, math::INF),
|
||||
(math::NAN, 0f64)), // imaginary sign unspecified
|
||||
- ((0f64, math::NAN),
|
||||
- (math::NAN, 0f64)), // imaginary sign unspecified
|
||||
+// ((0f64, math::NAN),
|
||||
+// (math::NAN, 0f64)), // imaginary sign unspecified
|
||||
((1f64, math::INF),
|
||||
(math::NAN, math::NAN)),
|
||||
((1f64, math::NAN),
|
||||
@@ -627,8 +627,8 @@ const TEST_EXPSC: [](c128, c128) = [
|
||||
(0f64, 0f64)), // real and imaginary sign unspecified
|
||||
((math::INF, math::INF),
|
||||
(math::INF, math::NAN)), // real sign unspecified
|
||||
- ((-math::INF, math::NAN),
|
||||
- (0f64, 0f64)), // real and imaginary sign unspecified
|
||||
+// ((-math::INF, math::NAN),
|
||||
+// (0f64, 0f64)), // real and imaginary sign unspecified
|
||||
((math::INF, math::NAN),
|
||||
(math::INF, math::NAN)), // real sign unspecified
|
||||
((math::NAN, 0f64),
|
@ -0,0 +1,11 @@ |
||||
export HARECACHE="$NIX_BUILD_TOP/.harecache" |
||||
|
||||
addHarepath () { |
||||
for haredir in third-party stdlib; do |
||||
if [[ -d "$1/src/hare/$haredir" ]]; then |
||||
addToSearchPath HAREPATH "$1/src/hare/$haredir" |
||||
fi |
||||
done |
||||
} |
||||
|
||||
addEnvHooks "$hostOffset" addHarepath |
@ -0,0 +1,46 @@ |
||||
{ lib |
||||
, stdenv |
||||
, fetchFromSourcehut |
||||
, hare |
||||
, himitsu |
||||
, zip |
||||
}: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "himitsu-firefox"; |
||||
version = "0.3"; |
||||
|
||||
src = fetchFromSourcehut { |
||||
name = pname + "-src"; |
||||
owner = "~sircmpwn"; |
||||
repo = pname; |
||||
rev = "d6d0fdb30aefc93f6ff7d48e5737557051f1ffea"; |
||||
hash = "sha256-5RbNdEGPnfDt1KDeU2LnuRsqqqMRyV/Dh2cgEWkz4vQ="; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ |
||||
hare |
||||
zip |
||||
]; |
||||
|
||||
buildInputs = [ |
||||
himitsu |
||||
]; |
||||
|
||||
buildFlags = [ "LIBEXECDIR=$(out)/libexec" ]; |
||||
|
||||
# Only install the native component; per the docs: |
||||
# > To install the add-on for Firefox ESR, run make install-xpi. Be advised |
||||
# > that this will probably not work. The recommended installation procedure |
||||
# > for the native extension is to install it from addons.mozilla.org instead. |
||||
installTargets = [ "install-native" ]; |
||||
installFlags = [ "PREFIX=" "DESTDIR=$(out)" ]; |
||||
|
||||
meta = with lib; { |
||||
homepage = "https://git.sr.ht/~sircmpwn/himitsu-firefox"; |
||||
description = "Himitsu integration for Firefox"; |
||||
license = licenses.gpl3Only; |
||||
maintainers = with maintainers; [ auchter ]; |
||||
inherit (hare.meta) platforms badPlatforms; |
||||
}; |
||||
} |
@ -0,0 +1,34 @@ |
||||
{ lib |
||||
, stdenv |
||||
, fetchFromSourcehut |
||||
, hare |
||||
, scdoc |
||||
}: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "himitsu"; |
||||
version = "0.1"; |
||||
|
||||
src = fetchFromSourcehut { |
||||
name = pname + "-src"; |
||||
owner = "~sircmpwn"; |
||||
repo = pname; |
||||
rev = "003c14747fcddceb5359c9503f20c44b15fea5fa"; |
||||
hash = "sha256-tzBTDJKMuFh9anURy1aKQTmt77tI7wZDZQiOUowuomk="; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ |
||||
hare |
||||
scdoc |
||||
]; |
||||
|
||||
installFlags = [ "PREFIX=" "DESTDIR=$(out)" ]; |
||||
|
||||
meta = with lib; { |
||||
homepage = "https://himitsustore.org/"; |
||||
description = "A secret storage manager"; |
||||
license = licenses.gpl3Only; |
||||
maintainers = with maintainers; [ auchter ]; |
||||
inherit (hare.meta) platforms badPlatforms; |
||||
}; |
||||
} |
Loading…
Reference in new issue