mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-22 00:20:58 +00:00
python312Packages.about-time: move LICENSE to $out/share/doc/ folder
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
fetchPypi,
|
||||
buildPythonPackage,
|
||||
python,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -22,6 +23,11 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "about_time" ];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/doc/python${python.pythonVersion}-$pname-$version/
|
||||
mv $out/LICENSE $out/share/doc/python${python.pythonVersion}-$pname-$version/
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Cool helper for tracking time and throughput of code blocks, with beautiful human friendly renditions";
|
||||
homepage = "https://github.com/rsalmei/about-time";
|
||||
|
||||
Reference in New Issue
Block a user