lit: move to python-modules

This commit is contained in:
Gaetan Lepage 2023-04-22 16:45:13 +02:00
parent 1314174d3a
commit 608908ed7a
4 changed files with 12 additions and 6 deletions

View file

@ -75,7 +75,7 @@ in stdenv.mkDerivation rec {
# Should appear BEFORE lit, since lit passes through python rather
# than the python environment we make.
kleePython
(lit.override { python3 = kleePython; })
(lit.override { python = kleePython; })
];
cmakeFlags = let

View file

@ -1,16 +1,20 @@
{ lib, python3 }:
{ lib
, buildPythonPackage
, fetchPypi
, python
}:
python3.pkgs.buildPythonApplication rec {
buildPythonPackage rec {
pname = "lit";
version = "15.0.6";
src = python3.pkgs.fetchPypi {
src = fetchPypi {
inherit pname version;
hash = "sha256-S06OQfDmDyutls21HxyQ016ku3FTTsDOP8Di67d9f+k=";
};
passthru = {
python = python3;
inherit python;
};
# Non-standard test suite. Needs custom checkPhase.

View file

@ -18517,7 +18517,7 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Security;
};
lit = callPackage ../development/tools/misc/lit { };
lit = with python3Packages; toPythonApplication lit;
litecli = callPackage ../development/tools/database/litecli { };

View file

@ -5678,6 +5678,8 @@ self: super: with self; {
python3 = python;
});
lit = callPackage ../development/python-modules/lit { };
littleutils = callPackage ../development/python-modules/littleutils { };
livelossplot = callPackage ../development/python-modules/livelossplot { };