2023-05-25 14:07:31 +00:00
|
|
|
{ lib, python3Packages, fetchPypi }:
|
2019-04-25 22:00:32 +00:00
|
|
|
|
|
|
|
python3Packages.buildPythonPackage rec {
|
|
|
|
pname = "pydf";
|
|
|
|
version = "12";
|
|
|
|
|
2023-05-25 14:07:31 +00:00
|
|
|
src = fetchPypi {
|
2019-04-25 22:00:32 +00:00
|
|
|
inherit pname version;
|
|
|
|
sha256 = "7f47a7c3abfceb1ac04fc009ded538df1ae449c31203962a1471a4eb3bf21439";
|
|
|
|
};
|
|
|
|
|
2020-03-22 20:38:02 +00:00
|
|
|
postInstall = ''
|
|
|
|
mkdir -p $out/share/man/man1 $out/share/pydf
|
|
|
|
install -t $out/share/pydf -m 444 pydfrc
|
|
|
|
install -t $out/share/man/man1 -m 444 pydf.1
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-04-25 22:00:32 +00:00
|
|
|
description = "colourised df(1)-clone";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://kassiopeia.juls.savba.sk/~garabik/software/pydf/";
|
2024-01-27 14:30:57 +00:00
|
|
|
mainProgram = "pydf";
|
2019-04-25 22:00:32 +00:00
|
|
|
license = licenses.publicDomain;
|
|
|
|
maintainers = with maintainers; [ monsieurp ];
|
|
|
|
};
|
|
|
|
}
|