diff options
author | Doron Behar <doron.behar@gmail.com> | 2023-10-05 11:45:01 +0300 |
---|---|---|
committer | Doron Behar <doron.behar@gmail.com> | 2023-10-05 11:45:01 +0300 |
commit | 0af425f77b47728536e1d3f960c961a9ae358896 (patch) | |
tree | f0dd5ceddbab903944bd6fe235ad1a9c7957efa9 /pkgs/applications/networking/p2p | |
parent | 0bceba83550b308588fcbdb8dede9801ca346d57 (diff) |
transmission: use finalAttrs
Diffstat (limited to 'pkgs/applications/networking/p2p')
-rw-r--r-- | pkgs/applications/networking/p2p/transmission/default.nix | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/pkgs/applications/networking/p2p/transmission/default.nix b/pkgs/applications/networking/p2p/transmission/default.nix index 1cfa057a73eeb..58de6fa9754f3 100644 --- a/pkgs/applications/networking/p2p/transmission/default.nix +++ b/pkgs/applications/networking/p2p/transmission/default.nix @@ -32,17 +32,14 @@ , apparmorRulesFromClosure }: -let - version = "3.00"; - -in stdenv.mkDerivation { +stdenv.mkDerivation (finalAttrs: { pname = "transmission"; - inherit version; + version = "3.00"; src = fetchFromGitHub { owner = "transmission"; repo = "transmission"; - rev = version; + rev = finalAttrs.version; sha256 = "0ccg0km54f700x9p0jsnncnwvfnxfnxf7kcm7pcx1cj0vw78924z"; fetchSubmodules = true; }; @@ -147,4 +144,4 @@ in stdenv.mkDerivation { platforms = lib.platforms.unix; }; -} +}) |