3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.qasm2image: remove

Removed due to: prolonged breakage (at least since Jan. 2020),
inactivity on the upstream repo (no commits since November 2018),
and no longer being compatible with pythonPackages.qiskit.
This commit is contained in:
Drew Risinger 2020-12-09 16:55:14 -05:00
parent dfe13f9152
commit ef99419f47
2 changed files with 1 additions and 54 deletions

View file

@ -1,53 +0,0 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, cairocffi
, cairosvg
, cffi
, qiskit
, svgwrite
, colorama
, python
, pythonOlder
}:
buildPythonPackage {
pname = "qasm2image";
version = "0.8.0";
src = fetchFromGitHub {
owner = "nelimee";
repo = "qasm2image";
rev = "2c01756946ba9782973359dbd7bbf6651af6bee5";
sha256 = "1bnkzv7wrdvrq71dmsqanb3v2hcsxh5zaglfcxm2d9zzpmvb4a2n";
};
disabled = pythonOlder "3.5";
propagatedBuildInputs = [
cairocffi
cairosvg
cffi
qiskit
svgwrite
];
checkInputs = [
colorama
];
checkPhase = ''
${python.interpreter} tests/launch_tests.py
'';
LC_ALL="en_US.UTF-8";
meta = {
description = "A Python module to visualise quantum circuit";
homepage = "https://github.com/nelimeee/qasm2image";
license = lib.licenses.cecill-b;
maintainers = with lib.maintainers; [
pandaman
];
broken = true; # last update Oct 2018, failed tests don't error the build, and out-of-date with latest python3Packages.qiskit
};
}

View file

@ -6192,7 +6192,7 @@ in {
pyzufall = callPackage ../development/python-modules/pyzufall { };
qasm2image = callPackage ../development/python-modules/qasm2image { };
qasm2image = throw "qasm2image is no longer maintained (since November 2018), and is not compatible with the latest pythonPackages.qiskit versions."; # added 2020-12-09
qdarkstyle = callPackage ../development/python-modules/qdarkstyle { };