Unverified Commit 577ffd1b authored by nixpkgs-ci[bot]'s avatar nixpkgs-ci[bot] Committed by GitHub
Browse files

Merge staging-next into staging

parents ba716a80 e47e94c0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -19,14 +19,14 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "libsidplayfp";
  version = "2.13.1";
  version = "2.14.0";

  src = fetchFromGitHub {
    owner = "libsidplayfp";
    repo = "libsidplayfp";
    rev = "v${finalAttrs.version}";
    fetchSubmodules = true;
    hash = "sha256-gUi7g+TZmF6XgacImVSNc69zpMckjCaqwfidIrrh38U=";
    hash = "sha256-q1cUv4gpzL3wfssP7pWtDfDzFO47+kzpGy4GYLzEM50=";
  };

  outputs = [ "out" ] ++ lib.optionals docSupport [ "doc" ];
+11 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch,
  cmake,
  versionCheckHook,
  nixosTests,
@@ -20,6 +21,16 @@ stdenv.mkDerivation (finalAttrs: {

  sourceRoot = "${finalAttrs.src.name}/miniupnpc";

  patches = [
    # fix missing include
    # remove on next release
    (fetchpatch {
      url = "https://github.com/miniupnp/miniupnp/commit/e263ab6f56c382e10fed31347ec68095d691a0e8.patch";
      hash = "sha256-PHqjruFOcsGT3rdFS/GD3wEvalCmoRY4BtIKFxCjKDw=";
      stripLen = 1;
    })
  ];

  nativeBuildInputs = [ cmake ];

  cmakeFlags = [
+4 −1
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@
  pytestCheckHook,
  pythonAtLeast,
  pythonOlder,
  typing-extensions,
}:

buildPythonPackage rec {
@@ -22,7 +23,9 @@ buildPythonPackage rec {
    hash = "sha256-b3Z1NsYKp0CecUq8kaC/j3xR/ZZHDIw4MhUeadizz88=";
  };

  nativeBuildInputs = [ flit-scm ];
  build-system = [ flit-scm ];

  dependencies = lib.optionals (pythonOlder "3.13") [ typing-extensions ];

  nativeCheckInputs = [ pytestCheckHook ];