nixpkgs-suyu/pkgs/applications/science/logic/poly/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

24 lines
562 B
Nix

{stdenv, fetchFromGitHub, gmp, cmake, python}:
stdenv.mkDerivation rec {
pname = "libpoly";
version = "0.1.7";
src = fetchFromGitHub {
owner = "SRI-CSL";
repo = "libpoly";
rev = "v${version}";
sha256 = "0i5ar4lhs88glk0rvkmag656ii434i6i1q5dspx6d0kyg78fii64";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ gmp python ];
meta = with stdenv.lib; {
homepage = https://github.com/SRI-CSL/libpoly;
description = "C library for manipulating polynomials";
license = licenses.lgpl3;
platforms = platforms.all;
};
}