From 007f80c1d0440b89970000b92f78ce76186d99a5 Mon Sep 17 00:00:00 2001 From: Mateusz Kowalczyk Date: Thu, 6 Nov 2014 00:44:33 +0000 Subject: Turn more licenses into lib.licenses style Should eval cleanly, as far as -A tarball tells me. Relevant: issue #2999, issue #739 --- pkgs/servers/brickd/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pkgs/servers/brickd') diff --git a/pkgs/servers/brickd/default.nix b/pkgs/servers/brickd/default.nix index 9c88a6462145..e88f62a1337d 100644 --- a/pkgs/servers/brickd/default.nix +++ b/pkgs/servers/brickd/default.nix @@ -13,7 +13,7 @@ in stdenv.mkDerivation rec { name = "brickd-${version}"; - + src = fetchgit { url = "git://github.com/Tinkerforge/brickd.git"; rev = "refs/tags/v${version}"; @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { }; buildInputs = [ libusb pkgconfig pmutils udev ]; - + # shell thing didn't work so i replaced it using nix prePatch = '' substituteInPlace src/brickd/Makefile --replace 'PKG_CONFIG := $(shell which pkg-config 2> /dev/null)' "PKG_CONFIG := $pkgconfig/bin/pkg_config"; @@ -54,7 +54,7 @@ stdenv.mkDerivation rec { homepage = http://www.tinkerforge.com/; description = "The Brick Daemon is a daemon (or service on Windows) that acts as a bridge between the Bricks/Bricklets and the API bindings for the different programming languages."; maintainers = [ stdenv.lib.maintainers.qknight ]; - license = "GPLv2"; + license = stdenv.lib.licenses.gpl2; platforms = stdenv.lib.platforms.all; }; } -- cgit 1.4.1