Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
33 lines
762 B
Nix
33 lines
762 B
Nix
{
|
|
lib,
|
|
python3Packages,
|
|
fetchPypi,
|
|
}:
|
|
|
|
python3Packages.buildPythonPackage rec {
|
|
pname = "pydf";
|
|
version = "12";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "7f47a7c3abfceb1ac04fc009ded538df1ae449c31203962a1471a4eb3bf21439";
|
|
};
|
|
|
|
build-system = with python3Packages; [ setuptools ];
|
|
|
|
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
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Colourised df(1)-clone";
|
|
homepage = "http://kassiopeia.juls.savba.sk/~garabik/software/pydf/";
|
|
mainProgram = "pydf";
|
|
license = licenses.publicDomain;
|
|
maintainers = with maintainers; [ monsieurp ];
|
|
};
|
|
}
|