1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/system/dfc/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

22 lines
636 B
Nix

{stdenv, fetchurl, cmake, gettext}:
stdenv.mkDerivation rec {
pname = "dfc";
version = "3.1.1";
src = fetchurl {
url = "https://projects.gw-computing.net/attachments/download/615/${pname}-${version}.tar.gz";
sha256 = "0m1fd7l85ckb7bq4c5c3g257bkjglm8gq7x42pkmpp87fkknc94n";
};
nativeBuildInputs = [ cmake gettext ];
meta = {
homepage = https://projects.gw-computing.net/projects/dfc;
description = "Displays file system space usage using graphs and colors";
license = stdenv.lib.licenses.bsd3;
maintainers = with stdenv.lib.maintainers; [qknight];
platforms = stdenv.lib.platforms.all;
};
}