mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
34 lines
814 B
Nix
34 lines
814 B
Nix
{lib, stdenv, fetchgit, cmake, libGLU, libGL, xorg }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "glee";
|
|
rev = "f727ec7463d514b6279981d12833f2e11d62b33d";
|
|
version = "20170205-${lib.strings.substring 0 7 rev}";
|
|
|
|
src = fetchgit {
|
|
inherit rev;
|
|
url = "https://git.code.sf.net/p/${pname}/${pname}";
|
|
sha256 = "13mf3s7nvmj26vr2wbcg08l4xxqsc1ha41sx3bfghvq8c5qpk2ph";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ libGLU libGL xorg.libX11 ];
|
|
|
|
configureScript = ''
|
|
cmake
|
|
'';
|
|
|
|
preInstall = ''
|
|
sed -i 's/readme/Readme/' cmake_install.cmake
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "GL Easy Extension Library";
|
|
homepage = "https://sourceforge.net/p/glee/glee/";
|
|
maintainers = with maintainers; [ crertel ];
|
|
platforms = platforms.linux;
|
|
license = licenses.gpl3;
|
|
};
|
|
}
|