python3Packages.tweedledum: 1.0.0 -> 1.1.1
This commit is contained in:
parent
89ef192d11
commit
acf4b64a90
1 changed files with 6 additions and 6 deletions
|
@ -4,18 +4,20 @@
|
|||
, cmake
|
||||
, ninja
|
||||
, scikit-build
|
||||
# Check Inputs
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tweedledum";
|
||||
version = "1.0.0";
|
||||
version = "1.1.1";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub{
|
||||
owner = "boschmitt";
|
||||
repo = "tweedledum";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-59lJzdw9HLJ9ADxp/a3KW4v5aU/dYm27NSYoz9D49i4=";
|
||||
sha256 = "sha256-wgrY5ajaMYxznyNvlD0ul1PFr3W8oV9I/OVsStlZEBM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ninja scikit-build ];
|
||||
|
@ -23,10 +25,8 @@ buildPythonPackage rec {
|
|||
|
||||
pythonImportsCheck = [ "tweedledum" ];
|
||||
|
||||
# TODO: use pytest, but had issues with finding the correct directories
|
||||
checkPhase = ''
|
||||
python -m unittest discover -s ./python/test -t .
|
||||
'';
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
pytestFlagsArray = [ "python/test" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A library for synthesizing and manipulating quantum circuits";
|
||||
|
|
Loading…
Reference in a new issue