nixpkgs-suyu/pkgs/development/libraries/SDL_stretch/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

20 lines
507 B
Nix

{ stdenv, fetchurl, SDL }:
stdenv.mkDerivation rec {
pname = "SDL_stretch";
version = "0.3.1";
src = fetchurl {
url = "mirror://sourceforge/sdl-stretch/${version}/${pname}-${version}.tar.bz2";
sha256 = "1mzw68sn4yxbp8429jg2h23h8xw2qjid51z1f5pdsghcn3x0pgvw";
};
buildInputs = [ SDL ];
meta = with stdenv.lib; {
description = "Stretch Functions For SDL";
homepage = http://sdl-stretch.sourceforge.net/;
license = licenses.lgpl2;
platforms = platforms.linux;
};
}