diff options
author | Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> | 2016-01-24 20:31:44 +0100 |
---|---|---|
committer | Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> | 2016-01-25 17:35:21 +0100 |
commit | 9fb8020e4ec2e74e39a8f28dfb3ef18a70bd1eef (patch) | |
tree | 6e5795908883df8f42e0f4491091347ebf8667e4 /pkgs/development/libraries/bobcat | |
parent | 7b6454cbb959e001a1e421d6cc00a00994fb7518 (diff) |
Add version attribute where maintainers |= nckx
This will probably be mandatory soon, and is a step in the right direction. Removes the deprecated meta.version, and move some meta sections to the end of the file where I should have put them in the first place.
Diffstat (limited to 'pkgs/development/libraries/bobcat')
-rw-r--r-- | pkgs/development/libraries/bobcat/default.nix | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/pkgs/development/libraries/bobcat/default.nix b/pkgs/development/libraries/bobcat/default.nix index 87eb1e324ce01..b83fd0f748748 100644 --- a/pkgs/development/libraries/bobcat/default.nix +++ b/pkgs/development/libraries/bobcat/default.nix @@ -1,9 +1,9 @@ { stdenv, fetchFromGitHub, icmake, libmilter, libX11, openssl, readline , utillinux, yodl }: -let version = "4.00.00"; in -stdenv.mkDerivation { +stdenv.mkDerivation rec { name = "bobcat-${version}"; + version = "4.00.00"; src = fetchFromGitHub { sha256 = "0wdb25sgw7i3jk3lbja6b4ipqfg1sncam6adg2bn8l5fcinrpwgs"; @@ -12,15 +12,6 @@ stdenv.mkDerivation { owner = "fbb-git"; }; - meta = with stdenv.lib; { - inherit version; - description = "Brokken's Own Base Classes And Templates"; - homepage = https://fbb-git.github.io/bobcat/; - license = licenses.gpl3; - platforms = platforms.linux; - maintainers = with maintainers; [ nckx ]; - }; - buildInputs = [ libmilter libX11 openssl readline utillinux ]; nativeBuildInputs = [ icmake yodl ]; @@ -39,4 +30,12 @@ stdenv.mkDerivation { installPhase = '' ./build install ''; + + meta = with stdenv.lib; { + description = "Brokken's Own Base Classes And Templates"; + homepage = https://fbb-git.github.io/bobcat/; + license = licenses.gpl3; + platforms = platforms.linux; + maintainers = with maintainers; [ nckx ]; + }; } |