summary refs log tree commit diff
path: root/pkgs/development/libraries/clfft
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2021-07-17 20:37:27 +0200
committerFelix Buehler <account@buehler.rocks>2021-07-17 22:39:35 +0200
commite023025ee026a9e62a5e754d608572903304550a (patch)
tree848c15eab372ba6ee6076363a0a2bc798c89b00b /pkgs/development/libraries/clfft
parent6d1494bc669c21e0cf16aec3af6450d1776d7883 (diff)
downloadnixpkgs-e023025ee026a9e62a5e754d608572903304550a.tar
nixpkgs-e023025ee026a9e62a5e754d608572903304550a.tar.gz
nixpkgs-e023025ee026a9e62a5e754d608572903304550a.tar.bz2
nixpkgs-e023025ee026a9e62a5e754d608572903304550a.tar.lz
nixpkgs-e023025ee026a9e62a5e754d608572903304550a.tar.xz
nixpkgs-e023025ee026a9e62a5e754d608572903304550a.tar.zst
nixpkgs-e023025ee026a9e62a5e754d608572903304550a.zip
various: cleanup of "inherit version;"
Diffstat (limited to 'pkgs/development/libraries/clfft')
-rw-r--r--pkgs/development/libraries/clfft/default.nix7
1 files changed, 2 insertions, 5 deletions
diff --git a/pkgs/development/libraries/clfft/default.nix b/pkgs/development/libraries/clfft/default.nix
index 91267208d2e..db18bce72be 100644
--- a/pkgs/development/libraries/clfft/default.nix
+++ b/pkgs/development/libraries/clfft/default.nix
@@ -1,10 +1,8 @@
 { lib, stdenv, fetchFromGitHub, cmake, fftw, fftwFloat, boost166, opencl-clhpp, ocl-icd }:
 
-let
-  version = "2.12.2";
-in stdenv.mkDerivation {
+stdenv.mkDerivation rec {
   pname = "clfft";
-  inherit version;
+  version = "2.12.2";
 
   src = fetchFromGitHub {
     owner = "clMathLibraries";
@@ -29,6 +27,5 @@ in stdenv.mkDerivation {
     homepage = "http://clmathlibraries.github.io/clFFT/";
     platforms = [ "i686-linux" "x86_64-linux" ];
     maintainers = with maintainers; [ chessai ];
-    inherit version;
   };
 }