mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
f79f80dbf2
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.
23 lines
618 B
Nix
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/;
|
|
};
|
|
}
|