nixpkgs/pkgs/development/libraries/intel-gmmlib/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

26 lines
590 B
Nix

{ stdenv, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation rec {
pname = "intel-gmmlib";
version = "19.2.3";
src = fetchFromGitHub {
owner = "intel";
repo = "gmmlib";
rev = "${pname}-${version}";
sha256 = "0hki53czv1na7h5b06fcwkd8bhn690ywg6dwjfs3x9fa4g48kqjb";
};
nativeBuildInputs = [ cmake ];
meta = with stdenv.lib; {
homepage = https://github.com/intel/gmmlib;
license = licenses.mit;
description = "Intel Graphics Memory Management Library";
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ jfrankenau ];
};
}