treewide: stdenv.lib -> lib
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, fetchpatch, gmp }:
|
||||
{ lib, stdenv, fetchurl, fetchpatch, gmp }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ratpoints";
|
||||
version = "2.1.3.p4";
|
||||
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ gmp ];
|
||||
|
||||
makeFlags = [ "CC=cc" ];
|
||||
buildFlags = stdenv.lib.optional stdenv.isDarwin ["CCFLAGS2=-lgmp -lc -lm" "CCFLAGS=-UUSE_SSE"];
|
||||
buildFlags = lib.optional stdenv.isDarwin ["CCFLAGS2=-lgmp -lc -lm" "CCFLAGS=-UUSE_SSE"];
|
||||
installFlags = [ "INSTALL_DIR=$(out)" ];
|
||||
|
||||
preInstall = ''mkdir -p "$out"/{bin,share,lib,include}'';
|
||||
@@ -28,9 +28,9 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
inherit version;
|
||||
description = ''A program to find rational points on hyperelliptic curves'';
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
maintainers = [stdenv.lib.maintainers.raskin];
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = [lib.maintainers.raskin];
|
||||
platforms = lib.platforms.unix;
|
||||
homepage = "http://www.mathe2.uni-bayreuth.de/stoll/programs/";
|
||||
updateWalker = true;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user