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/libopus | |
parent | a314be4b4d6403df29c9fe3ed0cd92a39ffbcdb2 (diff) | |
download | nixpkgs-87316d778be9234ada273c0892ce9788bd23ab9f.tar nixpkgs-87316d778be9234ada273c0892ce9788bd23ab9f.tar.gz nixpkgs-87316d778be9234ada273c0892ce9788bd23ab9f.tar.bz2 nixpkgs-87316d778be9234ada273c0892ce9788bd23ab9f.tar.lz nixpkgs-87316d778be9234ada273c0892ce9788bd23ab9f.tar.xz nixpkgs-87316d778be9234ada273c0892ce9788bd23ab9f.tar.zst nixpkgs-87316d778be9234ada273c0892ce9788bd23ab9f.zip |
various: cleanup of "inherit version;"
Diffstat (limited to 'pkgs/development/libraries/libopus')
-rw-r--r-- | pkgs/development/libraries/libopus/default.nix | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/pkgs/development/libraries/libopus/default.nix b/pkgs/development/libraries/libopus/default.nix index 8172bd38e10..6776f5ae393 100644 --- a/pkgs/development/libraries/libopus/default.nix +++ b/pkgs/development/libraries/libopus/default.nix @@ -1,12 +1,9 @@ { lib, stdenv, fetchurl , fixedPoint ? false, withCustomModes ? true }: -let - version = "1.3.1"; -in -stdenv.mkDerivation { +stdenv.mkDerivation rec { pname = "libopus"; - inherit version; + version = "1.3.1"; src = fetchurl { url = "https://archive.mozilla.org/pub/opus/opus-${version}.tar.gz"; |