Unverified Commit 371b127d authored by Joseph Stahl's avatar Joseph Stahl Committed by GitHub
Browse files

python312Packages.tubes: 0.2.1 -> 0.2.1-unstable-2023-11-06 (#311722)

no recent releases on PyPi, but latest commit on Github fixes unittest errors on Python 3.12
parent 801e37ad
Loading
Loading
Loading
Loading
+21 −10
Original line number Diff line number Diff line
{ lib, buildPythonPackage, fetchPypi, python
, characteristic, six, twisted
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  python,
  characteristic,
  six,
  twisted,
}:

buildPythonPackage rec {
  pname = "tubes";
  version = "0.2.1";
  version = "0.2.1-unstable-2023-11-06";
  format = "setuptools";

  src = fetchPypi {
    pname = "Tubes";
    inherit version;
    hash = "sha256-WbkZfy+m9/xrwygd5VeXrccpu3XJxhO09tbEFZnw14s=";
  src = fetchFromGitHub {
    owner = "twisted";
    repo = "tubes";
    rev = "b74680b8e7bcfe64362865356bb9461b77bbd5c0";
    hash = "sha256-E8brnt8CtTEEP1KQTsTsgnl54H4zRGp+1IuoI/Qf5NA=";
  };

  propagatedBuildInputs = [ characteristic six twisted ];
  propagatedBuildInputs = [
    characteristic
    six
    twisted
  ];

  checkPhase = ''
    ${python.interpreter} -m twisted.trial -j $NIX_BUILD_CORES tubes