diff options
author | Felix Buehler <account@buehler.rocks> | 2021-07-17 19:56:23 +0200 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2021-07-18 00:19:24 +0200 |
commit | 87316d778be9234ada273c0892ce9788bd23ab9f (patch) | |
tree | 58ab70c7d52e4bf2221679f7f3937000dabc5337 /pkgs/development/libraries/libopusenc | |
parent | a314be4b4d6403df29c9fe3ed0cd92a39ffbcdb2 (diff) |
various: cleanup of "inherit version;"
Diffstat (limited to 'pkgs/development/libraries/libopusenc')
-rw-r--r-- | pkgs/development/libraries/libopusenc/default.nix | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/pkgs/development/libraries/libopusenc/default.nix b/pkgs/development/libraries/libopusenc/default.nix index c2d77185e6922..3cb14a2ea99e3 100644 --- a/pkgs/development/libraries/libopusenc/default.nix +++ b/pkgs/development/libraries/libopusenc/default.nix @@ -1,11 +1,8 @@ { lib, stdenv, fetchurl, pkg-config, libopus }: -let - version = "0.2.1"; -in -stdenv.mkDerivation { +stdenv.mkDerivation rec { pname = "libopusenc"; - inherit version; + version = "0.2.1"; src = fetchurl { url = "https://archive.mozilla.org/pub/opus/libopusenc-${version}.tar.gz"; |