3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #106495 from drewrisinger/dr-pr-remove-qasm2image

pythonPackages.qasm2image: remove
This commit is contained in:
Jörg Thalheim 2020-12-11 05:23:55 +00:00 committed by GitHub
commit f791bd95f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

@ -6198,7 +6198,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 { };