nixpkgs/pkgs/tools/archivers/xarchive/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

23 lines
604 B
Nix

{ stdenv, fetchurl, gtk2, pkgconfig }:
stdenv.mkDerivation rec {
version = "0.2.8-6";
pname = "xarchive";
src = fetchurl {
url = "mirror://sourceforge/xarchive/${pname}-${version}.tar.gz";
sha256 = "0chfim7z27s00naf43a61zsngwhvim14mg1p3csbv5i3f6m50xx4";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gtk2 ];
hardeningDisable = [ "format" ];
meta = {
description = "A GTK+ front-end for command line archiving tools";
maintainers = [ stdenv.lib.maintainers.domenkozar ];
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.all;
};
}