python3Packages.quantiphy-eval: init at 0.5

This commit is contained in:
jacobi petrucciani
2022-12-23 12:31:39 -05:00
parent 7cb68c8fbc
commit 0ed791f015
2 changed files with 41 additions and 0 deletions
@@ -0,0 +1,39 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, inform
, sly
}:
buildPythonPackage rec {
pname = "quantiphy-eval";
version = "0.5";
src = fetchFromGitHub {
owner = "KenKundert";
repo = "quantiphy_eval";
rev = "v${version}";
sha256 = "sha256-7VHcuINhe17lRNkHUnZkVOEtD6mVWk5gu0NbrLZwprg=";
};
format = "flit";
propagatedBuildInputs = [
inform
sly
];
# this has a circular dependency on quantiphy
preBuild = ''
sed -i '/quantiphy>/d' ./pyproject.toml
'';
# tests require quantiphy import
doCheck = false;
meta = with lib; {
description = "QuantiPhy support for evals in-line";
homepage = "https://github.com/KenKundert/quantiphy_eval/";
license = licenses.mit;
maintainers = with maintainers; [ jpetrucciani ];
};
}
+2
View File
@@ -9589,6 +9589,8 @@ self: super: with self; {
quantities = callPackage ../development/python-modules/quantities { };
quantiphy-eval = callPackage ../development/python-modules/quantiphy-eval { };
quantum-gateway = callPackage ../development/python-modules/quantum-gateway { };
querystring_parser = callPackage ../development/python-modules/querystring-parser { };