python3Packages.rkm-codes: init at 0.5
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, flitBuildHook
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rkm-codes";
|
||||
version = "0.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "KenKundert";
|
||||
repo = "rkm_codes";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-r4F72iHxH7BoPtgYm1RD6BeSZszKRrpeBQccmT4wzuw=";
|
||||
};
|
||||
|
||||
format = "pyproject";
|
||||
nativeBuildInputs = [
|
||||
flitBuildHook
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
# this has a circular dependency on quantiphy
|
||||
preBuild = ''
|
||||
sed -i '/quantiphy/d' ./setup.py
|
||||
sed -i '/pytest-runner/d' ./setup.py
|
||||
'';
|
||||
|
||||
# this import check will fail as quantiphy is imported by this package
|
||||
# pythonImportsCheck = [ "rkm_codes" ];
|
||||
|
||||
# tests require quantiphy import
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "QuantiPhy support for RKM codes";
|
||||
homepage = "https://github.com/kenkundert/rkm_codes/";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ jpetrucciani ];
|
||||
};
|
||||
}
|
||||
@@ -9863,6 +9863,8 @@ self: super: with self; {
|
||||
|
||||
rki-covid-parser = callPackage ../development/python-modules/rki-covid-parser { };
|
||||
|
||||
rkm-codes = callPackage ../development/python-modules/rkm-codes { };
|
||||
|
||||
rlax = callPackage ../development/python-modules/rlax { };
|
||||
|
||||
rl-coach = callPackage ../development/python-modules/rl-coach { };
|
||||
|
||||
Reference in New Issue
Block a user