mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +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.
21 lines
484 B
Nix
21 lines
484 B
Nix
{ stdenv, fetchurl, gmp }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "cln-${version}";
|
|
version = "1.3.4";
|
|
|
|
src = fetchurl {
|
|
url = "${meta.homepage}${name}.tar.bz2";
|
|
sha256 = "0j5p18hwbbrchsdbnc8d2bf9ncslhflri4i950gdnq7v6g2dg69d";
|
|
};
|
|
|
|
buildInputs = [ gmp ];
|
|
|
|
meta = {
|
|
description = "C/C++ library for numbers, a part of GiNaC";
|
|
homepage = http://www.ginac.de/CLN/;
|
|
maintainers = [ ];
|
|
platforms = stdenv.lib.platforms.unix; # Once had cygwin problems
|
|
};
|
|
}
|