summaryrefslogtreecommitdiffstats
path: root/pkgs/development/libraries/SDL_stretch
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2016-08-22 06:24:00 +0300
committerNikolay Amiantov <ab@fmap.me>2016-08-22 06:30:00 +0300
commitb47327ebd535468f71bbf6a46366e0bd9357b599 (patch)
tree987e9ce4217b3a72404729c539a6e5f13420a5e2 /pkgs/development/libraries/SDL_stretch
parent3e2458a08537e1cd6a5dbcd2ad0cd7fe83be5d34 (diff)
SDL: cleanup and add patch to discover extensions
Diffstat (limited to 'pkgs/development/libraries/SDL_stretch')
-rw-r--r--pkgs/development/libraries/SDL_stretch/default.nix13
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/development/libraries/SDL_stretch/default.nix b/pkgs/development/libraries/SDL_stretch/default.nix
index 52c43da9d16e..2a4ddac524c2 100644
--- a/pkgs/development/libraries/SDL_stretch/default.nix
+++ b/pkgs/development/libraries/SDL_stretch/default.nix
@@ -1,19 +1,20 @@
{ stdenv, fetchurl, SDL }:
-stdenv.mkDerivation {
- name = "SDL_stretch-0.3.1";
+stdenv.mkDerivation rec {
+ name = "SDL_stretch-${version}";
+ version = "0.3.1";
src = fetchurl {
- url = "mirror://sourceforge/sdl-stretch/0.3.1/SDL_stretch-0.3.1.tar.bz2";
+ url = "mirror://sourceforge/sdl-stretch/${version}/${name}.tar.bz2";
sha256 = "1mzw68sn4yxbp8429jg2h23h8xw2qjid51z1f5pdsghcn3x0pgvw";
};
buildInputs = [ SDL ];
- meta = {
+ meta = with stdenv.lib; {
description = "Stretch Functions For SDL";
homepage = "http://sdl-stretch.sourceforge.net/";
- license = stdenv.lib.licenses.lgpl2;
- platforms = stdenv.lib.platforms.linux;
+ license = licenses.lgpl2;
+ platforms = platforms.linux;
};
}