depot/third_party/nixpkgs/pkgs/applications/misc/pydf/default.nix
Default email 60f07311b9 Project import generated by Copybara.
GitOrigin-RevId: f8e2ebd66d097614d51a56a755450d4ae1632df1
2024-02-06 17:22:34 -08:00

25 lines
679 B
Nix

{ lib, python3Packages, fetchPypi }:
python3Packages.buildPythonPackage rec {
pname = "pydf";
version = "12";
src = fetchPypi {
inherit pname version;
sha256 = "7f47a7c3abfceb1ac04fc009ded538df1ae449c31203962a1471a4eb3bf21439";
};
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 ];
};
}