orangefs: migrate to by-name

orangefs: refactor package definitions

+8 -10
+8 -8
pkgs/tools/filesystems/orangefs/default.nix pkgs/by-name/or/orangefs/package.nix
··· 14 14 nixosTests, 15 15 }: 16 16 17 - stdenv.mkDerivation rec { 17 + stdenv.mkDerivation (finalAttrs: { 18 18 pname = "orangefs"; 19 19 version = "2.9.8"; 20 20 21 21 src = fetchurl { 22 - url = "http://download.orangefs.org/current/source/orangefs-${version}.tar.gz"; 23 - sha256 = "0c2yla615j04ygclfavh8g5miqhbml2r0zs2c5mvkacf9in7p7sq"; 22 + url = "http://download.orangefs.org/current/source/orangefs-${finalAttrs.version}.tar.gz"; 23 + hash = "sha256-WJ97bEyOqblrYUJ/kAWtC+JYy0NwK0fZ8wTIEoyiXjA="; 24 24 }; 25 25 26 26 patches = [ ··· 28 28 (fetchpatch { 29 29 name = "fno-common.patch"; 30 30 url = "https://github.com/waltligon/orangefs/commit/f472beb50356bea657d1c32f1ca8a73e4718fd57.patch"; 31 - sha256 = "0jaq1ffdxgymjciddsy8h8r87nwbif4v5yv4wd7jxysn25a0hdai"; 31 + hash = "sha256-UTUIVBFW+y5P42T7somLi9uDMoLI69Yik9W/3pwLWEk="; 32 32 }) 33 33 ]; 34 34 ··· 83 83 84 84 passthru.tests = { inherit (nixosTests) orangefs; }; 85 85 86 - meta = with lib; { 86 + meta = { 87 87 description = "Scale-out network file system for use on high-end computing systems"; 88 88 homepage = "http://www.orangefs.org/"; 89 - license = with licenses; [ 89 + license = with lib.licenses; [ 90 90 asl20 91 91 bsd3 92 92 gpl2Only ··· 95 95 openldap 96 96 ]; 97 97 platforms = [ "x86_64-linux" ]; 98 - maintainers = with maintainers; [ markuskowa ]; 98 + maintainers = with lib.maintainers; [ markuskowa ]; 99 99 }; 100 - } 100 + })
-2
pkgs/top-level/all-packages.nix
··· 3971 3971 opl3bankeditor = libsForQt5.callPackage ../tools/audio/opl3bankeditor { }; 3972 3972 opn2bankeditor = libsForQt5.callPackage ../tools/audio/opl3bankeditor/opn2bankeditor.nix { }; 3973 3973 3974 - orangefs = callPackage ../tools/filesystems/orangefs { }; 3975 - 3976 3974 osl = libsForQt5.callPackage ../development/compilers/osl { 3977 3975 libclang = llvmPackages_19.libclang; 3978 3976 clang = clang_19;