12 buildPythonPackage rec {
17 src = fetchFromGitHub{
21 hash = "sha256-wgrY5ajaMYxznyNvlD0ul1PFr3W8oV9I/OVsStlZEBM=";
25 sed -i '/\[project\]/a version = "${version}"' pyproject.toml
26 sed -i '/\[project\]/a name = "tweedledum"' pyproject.toml
29 nativeBuildInputs = [ cmake ninja scikit-build ];
30 dontUseCmakeConfigure = true;
32 pythonImportsCheck = [ "tweedledum" ];
34 nativeCheckInputs = [ pytestCheckHook ];
35 pytestFlagsArray = [ "python/test" ];
38 description = "A library for synthesizing and manipulating quantum circuits";
39 homepage = "https://github.com/boschmitt/tweedledum";
40 license = licenses.mit ;
41 maintainers = with maintainers; [ drewrisinger ];