Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
33 lines
710 B
Nix
33 lines
710 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitea,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "dut";
|
|
version = "0-unstable-2024-07-31";
|
|
|
|
src = fetchFromGitea {
|
|
domain = "codeberg.org";
|
|
owner = "201984";
|
|
repo = "dut";
|
|
rev = "041c6f26162c2286776fac246ddbda312da1563d";
|
|
hash = "sha256-YrBV5rG9rASI/5pwG3kcHoOvXBHhLJHvFFrvNhmGq2Y=";
|
|
};
|
|
|
|
installFlags = [
|
|
"DESTDIR=${placeholder "out"}"
|
|
"PREFIX="
|
|
];
|
|
|
|
meta = {
|
|
platforms = lib.platforms.all;
|
|
broken = stdenv.isDarwin;
|
|
description = "A disk usage calculator for Linux";
|
|
homepage = "https://codeberg.org/201984/dut";
|
|
license = lib.licenses.gpl3;
|
|
maintainers = with lib.maintainers; [ errnoh ];
|
|
mainProgram = "dut";
|
|
};
|
|
}
|