mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-09 22:45:08 +00:00
e13831335f
* treewide: stdenv.is -> stdenv.hostPlatform.is * treewide: nixfmt due to ci error
34 lines
723 B
Nix
34 lines
723 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.hostPlatform.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";
|
|
};
|
|
}
|