python3Packages.quantiphy-eval: init at 0.5
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user