1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 23:52:33 +00:00
nixpkgs/pkgs/tools/graphics/barcode/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
634 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
version = "0.99";
pname = "barcode";
src = fetchurl {
url = "mirror://gnu/${pname}/${pname}-${version}.tar.xz";
sha256 = "1indapql5fjz0bysyc88cmc54y8phqrbi7c76p71fgjp45jcyzp8";
};
hardeningDisable = [ "format" ];
meta = with stdenv.lib; {
description = "GNU barcode generator";
maintainers = with maintainers; [ raskin ];
platforms = platforms.linux; # Maybe other non-darwin Unix
downloadPage = "https://ftp.gnu.org/gnu/barcode/";
updateWalker = true;
homepage = https://www.gnu.org/software/barcode/;
license = licenses.gpl3;
};
}