pyp: migrate it to by-name hierarchy
Since it is not used as library, it makes no sense to deploy it as a library.
This commit is contained in:
parent
d6599f77f6
commit
cd975261c7
3 changed files with 6 additions and 20 deletions
|
@ -1,15 +1,12 @@
|
|||
{ lib
|
||||
, astunparse
|
||||
, bc
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, flit-core
|
||||
, jq
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, python3
|
||||
}:
|
||||
|
||||
let
|
||||
pythonPackages = python3.pkgs;
|
||||
finalAttrs = {
|
||||
pname = "pyp";
|
||||
version = "1.2.0";
|
||||
|
@ -23,22 +20,17 @@ let
|
|||
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
build-system = [
|
||||
build-system = with pythonPackages; [
|
||||
flit-core
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
nativeCheckInputs = (with pythonPackages; [
|
||||
pytestCheckHook
|
||||
]) ++ [
|
||||
bc
|
||||
jq
|
||||
];
|
||||
|
||||
dependencies = lib.optionals (pythonOlder "3.9") [
|
||||
astunparse
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pyp"
|
||||
];
|
||||
|
@ -65,4 +57,4 @@ let
|
|||
};
|
||||
};
|
||||
in
|
||||
buildPythonPackage finalAttrs
|
||||
pythonPackages.buildPythonPackage finalAttrs
|
|
@ -12341,8 +12341,6 @@ with pkgs;
|
|||
|
||||
pywal = with python3Packages; toPythonApplication pywal;
|
||||
|
||||
pyp = with python3Packages; toPythonApplication pyp;
|
||||
|
||||
pystring = callPackage ../development/libraries/pystring { };
|
||||
|
||||
raysession = python3Packages.callPackage ../applications/audio/raysession {};
|
||||
|
|
|
@ -11159,10 +11159,6 @@ self: super: with self; {
|
|||
|
||||
pyomo = callPackage ../development/python-modules/pyomo { };
|
||||
|
||||
pyp = callPackage ../development/python-modules/pyp {
|
||||
inherit (pkgs) bc jq;
|
||||
};
|
||||
|
||||
pypng = callPackage ../development/python-modules/pypng { };
|
||||
|
||||
phonemizer = callPackage ../development/python-modules/phonemizer { };
|
||||
|
|
Loading…
Reference in a new issue