python312Packages.alive-progress: move LICENSE to $out/share/doc/ folder (#398142)
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
fetchFromGitHub,
|
||||
grapheme,
|
||||
pytestCheckHook,
|
||||
python,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
@@ -24,6 +25,11 @@ buildPythonPackage rec {
|
||||
hash = "sha256-yJhl0QrMHET9ISDc/D5AEQ7dTJkmcV2SWqy/xmG18uY=";
|
||||
};
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/doc/python${python.pythonVersion}-$pname-$version/
|
||||
mv $out/LICENSE $out/share/doc/python${python.pythonVersion}-$pname-$version/
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
Reference in New Issue
Block a user