Loading pkgs/by-name/c-/c-siphash/package.nix 0 → 100644 +43 −0 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub, fetchpatch, meson, pkg-config, ninja, c-stdaux, }: stdenv.mkDerivation rec { pname = "c-siphash"; version = "1.1.0"; src = fetchFromGitHub { owner = "c-util"; repo = "c-siphash"; tag = "v${version}"; hash = "sha256-S5eAlLR6p0Tpd6aYPGGGOH1sCGOyflVyhICi2pYt/8U="; }; nativeBuildInputs = [ meson pkg-config ninja ]; propagatedBuildInputs = [ c-stdaux ]; doCheck = true; meta = { homepage = "https://github.com/c-util/c-siphash"; description = "Streaming-capable SipHash Implementation"; changelog = "https://github.com/c-util/c-siphash/releases/tag/${src.tag}"; license = with lib.licenses; [ asl20 lgpl2Plus ]; maintainers = with lib.maintainers; [ qbisi ]; }; } pkgs/by-name/c-/c-stdaux/package.nix 0 → 100644 +39 −0 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub, meson, ninja, }: stdenv.mkDerivation rec { pname = "c-stdaux"; version = "1.5.0"; src = fetchFromGitHub { owner = "c-util"; repo = "c-stdaux"; tag = "v${version}"; hash = "sha256-MsnuEyVCmOIr/q6I1qyPsNXp48jxIEcXoYLHbOAZtW0="; }; nativeBuildInputs = [ meson ninja ]; # Assertion failed: (false && "!__builtin_constant_p(c_align_to(16, non_constant_expr ? 8 : 16))"), # function test_basic_gnuc, file ../src/test-basic.c, line 548. doCheck = !stdenv.hostPlatform.isDarwin; meta = { homepage = "https://github.com/c-util/c-stdaux"; description = "Auxiliary macros and functions for the C standard library"; changelog = "https://github.com/c-util/c-stdaux/releases/tag/${src.tag}"; license = with lib.licenses; [ asl20 lgpl2Plus ]; maintainers = with lib.maintainers; [ qbisi ]; }; } pkgs/development/python-modules/pytools/default.nix +5 −10 Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ pytestCheckHook, pythonOlder, typing-extensions, siphash24, }: buildPythonPackage rec { Loading @@ -31,10 +32,12 @@ buildPythonPackage rec { optional-dependencies = { numpy = [ numpy ]; # siphash = [ siphash ]; siphash = [ siphash24 ]; }; nativeCheckInputs = [ pytestCheckHook ]; nativeCheckInputs = [ pytestCheckHook ] ++ optional-dependencies.siphash; pythonImportsCheck = [ "pytools" Loading @@ -42,14 +45,6 @@ buildPythonPackage rec { "pytools.lex" ]; disabledTests = [ # siphash is not available "test_class_hashing" "test_dataclass_hashing" "test_datetime_hashing" "test_hash_function" ]; meta = { description = "Miscellaneous Python lifesavers"; homepage = "https://github.com/inducer/pytools/"; Loading pkgs/development/python-modules/siphash24/default.nix 0 → 100644 +52 −0 Original line number Diff line number Diff line { lib, fetchFromGitHub, buildPythonPackage, meson, meson-python, cython, pkg-config, c-siphash, pytestCheckHook, }: buildPythonPackage rec { version = "1.7"; pname = "siphash24"; pyproject = true; src = fetchFromGitHub { owner = "dnicolodi"; repo = "python-siphash24"; tag = "v${version}"; hash = "sha256-/7XrRD4e7jLTUY/8mBbJ4dSo5P6pj8GRpSreIOZpKp0="; }; nativeBuildInputs = [ pkg-config ]; build-system = [ meson meson-python cython ]; buildInputs = [ c-siphash ]; pythonImportsCheck = [ "siphash24" ]; pytestFlagsArray = [ "test.py" ]; nativeCheckInputs = [ pytestCheckHook ]; meta = { homepage = "https://github.com/dnicolodi/python-siphash24"; description = "Streaming-capable SipHash Implementation"; changelog = "https://github.com/dnicolodi/python-siphash24/releases/tag/${src.tag}"; license = lib.licenses.lgpl2Plus; maintainers = with lib.maintainers; [ qbisi ]; }; } pkgs/top-level/python-packages.nix +4 −2 Original line number Diff line number Diff line Loading @@ -15265,10 +15265,12 @@ self: super: with self; { sip = callPackage ../development/python-modules/sip { }; siphashc = callPackage ../development/python-modules/siphashc { }; sip4 = callPackage ../development/python-modules/sip/4.x.nix { }; siphash24 = callPackage ../development/python-modules/siphash24 { }; siphashc = callPackage ../development/python-modules/siphashc { }; sipyco = callPackage ../development/python-modules/sipyco { }; sirius = toPythonModule (pkgs.sirius.override { Loading
pkgs/by-name/c-/c-siphash/package.nix 0 → 100644 +43 −0 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub, fetchpatch, meson, pkg-config, ninja, c-stdaux, }: stdenv.mkDerivation rec { pname = "c-siphash"; version = "1.1.0"; src = fetchFromGitHub { owner = "c-util"; repo = "c-siphash"; tag = "v${version}"; hash = "sha256-S5eAlLR6p0Tpd6aYPGGGOH1sCGOyflVyhICi2pYt/8U="; }; nativeBuildInputs = [ meson pkg-config ninja ]; propagatedBuildInputs = [ c-stdaux ]; doCheck = true; meta = { homepage = "https://github.com/c-util/c-siphash"; description = "Streaming-capable SipHash Implementation"; changelog = "https://github.com/c-util/c-siphash/releases/tag/${src.tag}"; license = with lib.licenses; [ asl20 lgpl2Plus ]; maintainers = with lib.maintainers; [ qbisi ]; }; }
pkgs/by-name/c-/c-stdaux/package.nix 0 → 100644 +39 −0 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub, meson, ninja, }: stdenv.mkDerivation rec { pname = "c-stdaux"; version = "1.5.0"; src = fetchFromGitHub { owner = "c-util"; repo = "c-stdaux"; tag = "v${version}"; hash = "sha256-MsnuEyVCmOIr/q6I1qyPsNXp48jxIEcXoYLHbOAZtW0="; }; nativeBuildInputs = [ meson ninja ]; # Assertion failed: (false && "!__builtin_constant_p(c_align_to(16, non_constant_expr ? 8 : 16))"), # function test_basic_gnuc, file ../src/test-basic.c, line 548. doCheck = !stdenv.hostPlatform.isDarwin; meta = { homepage = "https://github.com/c-util/c-stdaux"; description = "Auxiliary macros and functions for the C standard library"; changelog = "https://github.com/c-util/c-stdaux/releases/tag/${src.tag}"; license = with lib.licenses; [ asl20 lgpl2Plus ]; maintainers = with lib.maintainers; [ qbisi ]; }; }
pkgs/development/python-modules/pytools/default.nix +5 −10 Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ pytestCheckHook, pythonOlder, typing-extensions, siphash24, }: buildPythonPackage rec { Loading @@ -31,10 +32,12 @@ buildPythonPackage rec { optional-dependencies = { numpy = [ numpy ]; # siphash = [ siphash ]; siphash = [ siphash24 ]; }; nativeCheckInputs = [ pytestCheckHook ]; nativeCheckInputs = [ pytestCheckHook ] ++ optional-dependencies.siphash; pythonImportsCheck = [ "pytools" Loading @@ -42,14 +45,6 @@ buildPythonPackage rec { "pytools.lex" ]; disabledTests = [ # siphash is not available "test_class_hashing" "test_dataclass_hashing" "test_datetime_hashing" "test_hash_function" ]; meta = { description = "Miscellaneous Python lifesavers"; homepage = "https://github.com/inducer/pytools/"; Loading
pkgs/development/python-modules/siphash24/default.nix 0 → 100644 +52 −0 Original line number Diff line number Diff line { lib, fetchFromGitHub, buildPythonPackage, meson, meson-python, cython, pkg-config, c-siphash, pytestCheckHook, }: buildPythonPackage rec { version = "1.7"; pname = "siphash24"; pyproject = true; src = fetchFromGitHub { owner = "dnicolodi"; repo = "python-siphash24"; tag = "v${version}"; hash = "sha256-/7XrRD4e7jLTUY/8mBbJ4dSo5P6pj8GRpSreIOZpKp0="; }; nativeBuildInputs = [ pkg-config ]; build-system = [ meson meson-python cython ]; buildInputs = [ c-siphash ]; pythonImportsCheck = [ "siphash24" ]; pytestFlagsArray = [ "test.py" ]; nativeCheckInputs = [ pytestCheckHook ]; meta = { homepage = "https://github.com/dnicolodi/python-siphash24"; description = "Streaming-capable SipHash Implementation"; changelog = "https://github.com/dnicolodi/python-siphash24/releases/tag/${src.tag}"; license = lib.licenses.lgpl2Plus; maintainers = with lib.maintainers; [ qbisi ]; }; }
pkgs/top-level/python-packages.nix +4 −2 Original line number Diff line number Diff line Loading @@ -15265,10 +15265,12 @@ self: super: with self; { sip = callPackage ../development/python-modules/sip { }; siphashc = callPackage ../development/python-modules/siphashc { }; sip4 = callPackage ../development/python-modules/sip/4.x.nix { }; siphash24 = callPackage ../development/python-modules/siphash24 { }; siphashc = callPackage ../development/python-modules/siphashc { }; sipyco = callPackage ../development/python-modules/sipyco { }; sirius = toPythonModule (pkgs.sirius.override {