diff --git a/pkgs/development/python-modules/qasm2image/default.nix b/pkgs/development/python-modules/qasm2image/default.nix deleted file mode 100644 index 962ba62f509c..000000000000 --- a/pkgs/development/python-modules/qasm2image/default.nix +++ /dev/null @@ -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 - }; -} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 2ff6441631c9..720375b4adef 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 { };