1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00
nixpkgs/pkgs/tools/graphics/barcode/default.nix
John Ericson f79f80dbf2 treewide: get rid of platforms.allBut
Negative reasoning like `allBut` is a bad idea with an open world of
platforms. Concretely, if we add a new, quite different sort of
platform, existing packages with `allBut` will claim they work on it
even though they probably won't.
2018-03-14 18:44:42 -04:00

23 lines
618 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
version = "0.99";
pname = "barcode";
src = fetchurl {
url = "mirror://gnu/${pname}/${name}.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 = "http://ftp.gnu.org/gnu/barcode/";
updateWalker = true;
homepage = http://ftp.gnu.org/gnu/barcode/;
};
}