diff options
Diffstat (limited to 'nixpkgs/pkgs/by-name/sa')
-rw-r--r-- | nixpkgs/pkgs/by-name/sa/saga/package.nix | 87 | ||||
-rw-r--r-- | nixpkgs/pkgs/by-name/sa/salmon/fetch-pufferfish.patch | 6 | ||||
-rw-r--r-- | nixpkgs/pkgs/by-name/sa/salmon/package.nix | 7 | ||||
-rw-r--r-- | nixpkgs/pkgs/by-name/sa/samrewritten/package.nix | 1 | ||||
-rw-r--r-- | nixpkgs/pkgs/by-name/sa/sarasa-gothic/package.nix | 42 | ||||
-rw-r--r-- | nixpkgs/pkgs/by-name/sa/satty/package.nix | 14 |
6 files changed, 144 insertions, 13 deletions
diff --git a/nixpkgs/pkgs/by-name/sa/saga/package.nix b/nixpkgs/pkgs/by-name/sa/saga/package.nix new file mode 100644 index 000000000000..3e9497b699da --- /dev/null +++ b/nixpkgs/pkgs/by-name/sa/saga/package.nix @@ -0,0 +1,87 @@ +{ stdenv +, lib +, fetchurl +# native +, cmake +, desktopToDarwinBundle +, pkg-config +# not native +, gdal +, wxGTK32 +, proj +, libsForQt5 +, curl +, libiodbc +, xz +, libharu +, opencv +, vigra +, postgresql +, darwin +, unixODBC +, poppler +, hdf5 +, netcdf +, sqlite +, qhull +, giflib +, libsvm +, fftw +}: + +stdenv.mkDerivation rec { + pname = "saga"; + version = "9.3.2"; + + src = fetchurl { + url = "mirror://sourceforge/saga-gis/saga-${version}.tar.gz"; + sha256 = "sha256-741O6C7amxSnOOTledF0izmVhiT79tFI4+EOtpNqP2Q="; + }; + + sourceRoot = "saga-${version}/saga-gis"; + + nativeBuildInputs = [ + cmake + pkg-config + ] ++ lib.optional stdenv.isDarwin desktopToDarwinBundle; + + buildInputs = [ + curl + libsForQt5.dxflib + fftw + libsvm + hdf5 + gdal + wxGTK32 + proj + libharu + opencv + vigra + postgresql + libiodbc + xz + qhull + giflib + ] + # See https://groups.google.com/forum/#!topic/nix-devel/h_vSzEJAPXs + # for why the have additional buildInputs on darwin + ++ lib.optionals stdenv.isDarwin [ + darwin.apple_sdk.frameworks.Cocoa + unixODBC + poppler + netcdf + sqlite + ]; + + cmakeFlags = [ + (lib.cmakeBool "OpenMP_SUPPORT" (!stdenv.isDarwin)) + ]; + + meta = with lib; { + description = "System for Automated Geoscientific Analyses"; + homepage = "https://saga-gis.sourceforge.io"; + license = licenses.gpl2Plus; + maintainers = with maintainers; teams.geospatial.members ++ [ michelk mpickering ]; + platforms = with platforms; unix; + }; +} diff --git a/nixpkgs/pkgs/by-name/sa/salmon/fetch-pufferfish.patch b/nixpkgs/pkgs/by-name/sa/salmon/fetch-pufferfish.patch index 7010a1a69fac..a8682426fcc4 100644 --- a/nixpkgs/pkgs/by-name/sa/salmon/fetch-pufferfish.patch +++ b/nixpkgs/pkgs/by-name/sa/salmon/fetch-pufferfish.patch @@ -1,5 +1,5 @@ diff --git a/scripts/fetchPufferfish.sh b/scripts/fetchPufferfish.sh -index bf2574e0..42582806 100755 +index 95e30053..8866767c 100755 --- a/scripts/fetchPufferfish.sh +++ b/scripts/fetchPufferfish.sh @@ -11,10 +11,6 @@ CURR_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) @@ -17,11 +17,11 @@ index bf2574e0..42582806 100755 rm -fr ${INSTALL_DIR}/src/pufferfish fi --SVER=salmon-v1.10.2 +-SVER=salmon-v1.10.3 -#SVER=develop -#SVER=sketch-mode - --EXPECTED_SHA256=f225b74833f71dcf767a565345224357fb091f90ce79717abc836814d9ccd101 +-EXPECTED_SHA256=52b6699de0d33814b73edb3455175568c2330d8014be017dce7b564e54134860 - -mkdir -p ${EXTERNAL_DIR} -curl -k -L https://github.com/COMBINE-lab/pufferfish/archive/${SVER}.zip -o ${EXTERNAL_DIR}/pufferfish.zip diff --git a/nixpkgs/pkgs/by-name/sa/salmon/package.nix b/nixpkgs/pkgs/by-name/sa/salmon/package.nix index e4442e96fd6f..5d65e2698a42 100644 --- a/nixpkgs/pkgs/by-name/sa/salmon/package.nix +++ b/nixpkgs/pkgs/by-name/sa/salmon/package.nix @@ -20,20 +20,20 @@ stdenv.mkDerivation (finalAttrs: { pname = "salmon"; - version = "1.10.2"; + version = "1.10.3"; pufferFishSrc = fetchFromGitHub { owner = "COMBINE-lab"; repo = "pufferfish"; rev = "salmon-v${finalAttrs.version}"; - hash = "sha256-JKbUFBEsqnENl4vFqve1FCd4TI3n9bRi2RNHC8QGQGc="; + hash = "sha256-g4pfNuc620WQ7UDv8PQHVbbTVt78aGVqcHHMszmBIkA="; }; src = fetchFromGitHub { owner = "COMBINE-lab"; repo = "salmon"; rev = "v${finalAttrs.version}"; - hash = "sha256-kwqoUmVCqjr/xRxJjQKaFjjCQW+MFASHJ2f9OiAumNU="; + hash = "sha256-HGcDqu0XzgrU3erHavigXCoj3VKk82ixMLY10Kk9MW4="; }; patches = [ @@ -63,6 +63,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { description = "Tool for quantifying the expression of transcripts using RNA-seq data"; + mainProgram = "salmon"; longDescription = '' Salmon is a tool for quantifying the expression of transcripts using RNA-seq data. Salmon uses new algorithms (specifically, diff --git a/nixpkgs/pkgs/by-name/sa/samrewritten/package.nix b/nixpkgs/pkgs/by-name/sa/samrewritten/package.nix index de0c4e985727..f90c31395f73 100644 --- a/nixpkgs/pkgs/by-name/sa/samrewritten/package.nix +++ b/nixpkgs/pkgs/by-name/sa/samrewritten/package.nix @@ -39,6 +39,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { description = "Steam Achievement Manager For Linux. Rewritten in C++"; + mainProgram = "samrewritten"; homepage = "https://github.com/PaulCombal/SamRewritten"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ ludovicopiero ]; diff --git a/nixpkgs/pkgs/by-name/sa/sarasa-gothic/package.nix b/nixpkgs/pkgs/by-name/sa/sarasa-gothic/package.nix new file mode 100644 index 000000000000..6184bbda5a7e --- /dev/null +++ b/nixpkgs/pkgs/by-name/sa/sarasa-gothic/package.nix @@ -0,0 +1,42 @@ +{ + lib, + stdenvNoCC, + fetchurl, + unzip, +}: + +stdenvNoCC.mkDerivation (finalAttrs: { + pname = "sarasa-gothic"; + version = "1.0.7"; + + src = fetchurl { + # Use the 'ttc' files here for a smaller closure size. + # (Using 'ttf' files gives a closure size about 15x larger, as of November 2021.) + url = "https://github.com/be5invis/Sarasa-Gothic/releases/download/v${finalAttrs.version}/Sarasa-TTC-${finalAttrs.version}.zip"; + hash = "sha256-R0mVOKYlxSk3s6zPG/h9ddKUZX+WJp47QCulFUO97YI="; + }; + + sourceRoot = "."; + + nativeBuildInputs = [ unzip ]; + + installPhase = '' + runHook preInstall + + mkdir -p $out/share/fonts/truetype + cp *.ttc $out/share/fonts/truetype + + runHook postInstall + ''; + + meta = { + description = "A CJK programming font based on Iosevka and Source Han Sans"; + homepage = "https://github.com/be5invis/Sarasa-Gothic"; + license = lib.licenses.ofl; + maintainers = with lib.maintainers; [ + ChengCat + wegank + ]; + platforms = lib.platforms.all; + }; +}) diff --git a/nixpkgs/pkgs/by-name/sa/satty/package.nix b/nixpkgs/pkgs/by-name/sa/satty/package.nix index bcb3e37433df..31e860de8440 100644 --- a/nixpkgs/pkgs/by-name/sa/satty/package.nix +++ b/nixpkgs/pkgs/by-name/sa/satty/package.nix @@ -3,12 +3,12 @@ , fetchFromGitHub , pkg-config , wrapGAppsHook4 -, cairo , gdk-pixbuf , glib , gtk4 , libadwaita -, pango +, libepoxy +, libGL , copyDesktopItems , installShellFiles }: @@ -16,16 +16,16 @@ rustPlatform.buildRustPackage rec { pname = "satty"; - version = "0.10.0"; + version = "0.11.3"; src = fetchFromGitHub { owner = "gabm"; repo = "Satty"; rev = "v${version}"; - hash = "sha256-aE0hQla/FwUAUSVodfQz3s8hdYF6tQSIHl6p5gEtONU="; + hash = "sha256-TKpotVVjXWm2uue4a4QEqVH/qHKSsegL2MNcsnk0CHw="; }; - cargoHash = "sha256-vARrc49+T813uCzIlB1tSS3eNyNeeCvC+G+LFYAsYx8="; + cargoHash = "sha256-0AyzjKkTNZwGCT73Xo5AY7rPJwQ9GgAxtMf6lJnrTSA="; nativeBuildInputs = [ copyDesktopItems @@ -35,12 +35,12 @@ rustPlatform.buildRustPackage rec { ]; buildInputs = [ - cairo gdk-pixbuf glib gtk4 libadwaita - pango + libepoxy + libGL ]; postInstall = '' |