1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 11:10:03 +00:00

treewide: change ${pname} to string literal (#336172)

* adwaita-icon-theme: change `${pname}` to string literal

* alp: change `${pname}` to string literal

* alsa-oss: change `${pname}` to string literal

* alsa-plugins: change `${pname}` to string literal

* alsa-ucm-conf: change `${pname}` to string literal

* alsa-utils: change `${pname}` to string literal

* anyrun: change `${pname}` to string literal

* assemblyscript: change `${pname}` to string literal

* audiobookshelf: change `${pname}` to string literal

* baobab: change `${pname}` to string literal

* braa: change `${pname}` to string literal

* brill: change `${pname}` to string literal

* centrifugo: change `${pname}` to string literal

* cheese: change `${pname}` to string literal

* cljfmt: change `${pname}` to string literal

* coppwr: change `${pname}` to string literal

* cosmic-edit: change `${pname}` to string literal

* cosmic-files: change `${pname}` to string literal

* cosmic-store: change `${pname}` to string literal

* cosmic-term: change `${pname}` to string literal

* crate2nix: change `${pname}` to string literal

* cups-kyocera-3500-4500: change `${pname}` to string literal

* dbqn: change `${pname}` to string literal

* dconf-editor: change `${pname}` to string literal

* devhelp: change `${pname}` to string literal

* dmarc-report-converter: change `${pname}` to string literal

* engage: change `${pname}` to string literal

* eog: change `${pname}` to string literal

* evolution-data-server-gtk4: change `${pname}` to string literal

* find-billy: change `${pname}` to string literal

* firefly-iii: change `${pname}` to string literal

* fuchsia-cursor: change `${pname}` to string literal

* geary: change `${pname}` to string literal

* ghex: change `${pname}` to string literal

* gitg: change `${pname}` to string literal

* glasskube: change `${pname}` to string literal

* gnome.gnome-autoar: change `${pname}` to string literal

* gnome.gnome-calculator: change `${pname}` to string literal

* gnome.gnome-calendar: change `${pname}` to string literal

* gnome.gnome-common: change `${pname}` to string literal

* gnome.gnome-dictionary: change `${pname}` to string literal

* gnome.gnome-disk-utility: change `${pname}` to string literal

* gnome.gnome-font-viewer: change `${pname}` to string literal

* gnome.gnome-keyring: change `${pname}` to string literal

* gnome.gnome-screenshot: change `${pname}` to string literal

* gnome.gnome-system-monitor: change `${pname}` to string literal

* gnome.seahorse: change `${pname}` to string literal

* gnome.simple-scan: change `${pname}` to string literal

* gnome.sushi: change `${pname}` to string literal

* gnome.totem: change `${pname}` to string literal

* gnome.yelp: change `${pname}` to string literal

* gnome.yelp-xsl: change `${pname}` to string literal

* gnucap-full: change `${pname}` to string literal

* goredo: change `${pname}` to string literal

* guile-semver: change `${pname}` to string literal

* halo: change `${pname}` to string literal

* intiface-central: change `${pname}` to string literal

* intune-portal: change `${pname}` to string literal

* iscc: change `${pname}` to string literal

* jetbrains-toolbox: change `${pname}` to string literal

* jnr-posix: change `${pname}` to string literal

* keymapp: change `${pname}` to string literal

* libation: change `${pname}` to string literal

* libeduvpn-common: change `${pname}` to string literal

* libmamba: change `${pname}` to string literal

* littlefs-fuse: change `${pname}` to string literal

* logseq: change `${pname}` to string literal

* lxgw-wenkai-tc: change `${pname}` to string literal

* microsoft-identity-broker: change `${pname}` to string literal

* minetest-mapserver: change `${pname}` to string literal

* msalsdk-dbusclient: change `${pname}` to string literal

* neverest: change `${pname}` to string literal

* nf-test: change `${pname}` to string literal

* numbat: change `${pname}` to string literal

* pdf2odt: change `${pname}` to string literal

* plemoljp: change `${pname}` to string literal

* plemoljp-hs: change `${pname}` to string literal

* plemoljp-nf: change `${pname}` to string literal

* pocket-updater-utility: change `${pname}` to string literal

* proto: change `${pname}` to string literal

* pw3270: change `${pname}` to string literal

* ratchet: change `${pname}` to string literal

* read-it-later: change `${pname}` to string literal

* redmine: change `${pname}` to string literal

* regina: change `${pname}` to string literal

* regripper: change `${pname}` to string literal

* revolt-desktop: change `${pname}` to string literal

* rs: change `${pname}` to string literal

* signaturepdf: change `${pname}` to string literal

* sonarlint-ls: change `${pname}` to string literal

* srgn: change `${pname}` to string literal

* stackit-cli: change `${pname}` to string literal

* substudy: change `${pname}` to string literal

* swayosd: change `${pname}` to string literal

* synthesia: change `${pname}` to string literal

* tarlz: change `${pname}` to string literal

* termcap: change `${pname}` to string literal

* tinycompress: change `${pname}` to string literal

* tracexec: change `${pname}` to string literal

* treefmt2: change `${pname}` to string literal

* udev-gothic: change `${pname}` to string literal

* udev-gothic-nf: change `${pname}` to string literal

* vvvvvv: change `${pname}` to string literal

* yggdrasil: change `${pname}` to string literal

* zsync: change `${pname}` to string literal
This commit is contained in:
Peder Bergebakken Sundt 2024-08-21 00:56:55 +02:00 committed by GitHub
parent d2f3b99a6b
commit fcdecc256a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
105 changed files with 196 additions and 196 deletions

View file

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/adwaita-icon-theme/${lib.versions.major version}/${pname}-${version}.tar.xz";
url = "mirror://gnome/sources/adwaita-icon-theme/${lib.versions.major version}/adwaita-icon-theme-${version}.tar.xz";
hash = "sha256-S8tTm9ddZNo4XW+gjLqp3erOtqyOgrhbpsQRF79bpk4=";
};

View file

@ -33,7 +33,7 @@ buildGoModule rec {
buildPhase = ''
runHook preBuild
go build -o $GOPATH/bin/${pname} main.go
go build -o $GOPATH/bin/alp main.go
runHook postBuild
'';

View file

@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
version = "1.1.8";
src = fetchurl {
url = "mirror://alsa/oss-lib/${pname}-${version}.tar.bz2";
url = "mirror://alsa/oss-lib/alsa-oss-${version}.tar.bz2";
sha256 = "13nn6n6wpr2sj1hyqx4r9nb9bwxnhnzw8r2f08p8v13yjbswxbb4";
};

View file

@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
version = "1.2.12";
src = fetchurl {
url = "mirror://alsa/plugins/${pname}-${version}.tar.bz2";
url = "mirror://alsa/plugins/alsa-plugins-${version}.tar.bz2";
hash = "sha256-e9ioPTBOji2GoliV2Nyw7wJFqN8y4nGVnNvcavObZvI=";
};

View file

@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
version = "1.2.11";
src = fetchurl {
url = "mirror://alsa/lib/${pname}-${version}.tar.bz2";
url = "mirror://alsa/lib/alsa-ucm-conf-${version}.tar.bz2";
hash = "sha256-OHwBzzDioWdte49ysmgc8hmrynDdHsKp4zrdW/P+roE=";
};

View file

@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
version = "1.2.10";
src = fetchurl {
url = "mirror://alsa/utils/${pname}-${version}.tar.bz2";
url = "mirror://alsa/utils/alsa-utils-${version}.tar.bz2";
sha256 = "sha256-EEti7H8Cp84WynefSBVhbfHMIZM1A3g6kQe1lE+DBjo=";
};
patches = [

View file

@ -59,7 +59,7 @@ rustPlatform.buildRustPackage rec {
'';
postInstall = ''
install -Dm444 anyrun/res/style.css examples/config.ron -t $out/share/doc/${pname}/examples/
install -Dm444 anyrun/res/style.css examples/config.ron -t $out/share/doc/anyrun/examples/
'';
passthru.updateScript = unstableGitUpdater { };

View file

@ -9,7 +9,7 @@ buildNpmPackage rec {
src = fetchFromGitHub {
owner = "AssemblyScript";
repo = pname;
repo = "assemblyscript";
rev = "v${version}";
sha256 = "sha256-Jhjq+kLRzDesTPHHonImCnuzt1Ay04n7+O9aK4knb5g=";
};
@ -17,7 +17,7 @@ buildNpmPackage rec {
npmDepsHash = "sha256-mWRQPQVprM+9SCYd8M7NMDtiwDjSH5cr4Xlr5VP9eHo=";
meta = with lib; {
homepage = "https://github.com/AssemblyScript/${pname}";
homepage = "https://github.com/AssemblyScript/assemblyscript";
description = "TypeScript-like language for WebAssembly";
license = licenses.asl20;
maintainers = with maintainers; [ lucperkins ];

View file

@ -20,13 +20,13 @@ let
src = fetchFromGitHub {
owner = "advplyr";
repo = pname;
repo = "audiobookshelf";
rev = "refs/tags/v${source.version}";
inherit (source) hash;
};
client = buildNpmPackage {
pname = "${pname}-client";
pname = "audiobookshelf-client";
inherit (source) version;
src = runCommand "cp-source" { } ''
@ -74,13 +74,13 @@ buildNpmPackage {
installPhase = ''
mkdir -p $out/opt/client
cp -r index.js server package* node_modules $out/opt/
cp -r ${client}/lib/node_modules/${pname}-client/dist $out/opt/client/dist
cp -r ${client}/lib/node_modules/audiobookshelf-client/dist $out/opt/client/dist
mkdir $out/bin
echo '${wrapper}' > $out/bin/${pname}
echo " exec ${nodejs}/bin/node $out/opt/index.js" >> $out/bin/${pname}
echo '${wrapper}' > $out/bin/audiobookshelf
echo " exec ${nodejs}/bin/node $out/opt/index.js" >> $out/bin/audiobookshelf
chmod +x $out/bin/${pname}
chmod +x $out/bin/audiobookshelf
'';
passthru = {

View file

@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
url = "mirror://gnome/sources/baobab/${lib.versions.major version}/baobab-${version}.tar.xz";
hash = "sha256-zk3vXILQVnGlAJ9768+FrJhnXZ2BYNKK2RgbJppy43w=";
};
@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
passthru = {
updateScript = gnome.updateScript {
packageName = pname;
packageName = "baobab";
};
};

View file

@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
version = "0.82";
src = fetchzip {
url = "http://s-tech.elsat.net.pl/${pname}/${pname}-${version}.tar.gz";
url = "http://s-tech.elsat.net.pl/braa/braa-${version}.tar.gz";
hash = "sha256-GS3kk432BdGx/sLzzjXvotD9Qn4S3U4XtMmM0fWMhGA=";
};

View file

@ -14,8 +14,8 @@ stdenvNoCC.mkDerivation (finalAttrs: {
runHook preInstall
install -Dm644 *.ttf -t $out/share/fonts/truetype
install -Dm644 *agreement.pdf -t $out/share/licenses/${pname}
install -Dm644 *use.pdf -t $out/share/doc/${pname}
install -Dm644 *agreement.pdf -t $out/share/licenses/brill
install -Dm644 *use.pdf -t $out/share/doc/brill
runHook postInstall
'';

View file

@ -43,7 +43,7 @@ buildGoModule rec {
inherit (nixosTests) centrifugo;
version = testers.testVersion {
package = centrifugo;
command = "${pname} version";
command = "centrifugo version";
version = "v${version}";
};
};

View file

@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
outputs = [ "out" "man" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/cheese/${lib.versions.major version}/${pname}-${version}.tar.xz";
url = "mirror://gnome/sources/cheese/${lib.versions.major version}/cheese-${version}.tar.xz";
sha256 = "XyGFxMmeVN3yuLr2DIKBmVDlSVLhMuhjmHXz7cv49o4=";
};

View file

@ -11,7 +11,7 @@ buildGraalvmNativeImage rec {
version = "0.12.0";
src = fetchurl {
url = "https://github.com/weavejester/${pname}/releases/download/${version}/${pname}-${version}-standalone.jar";
url = "https://github.com/weavejester/cljfmt/releases/download/${version}/cljfmt-${version}-standalone.jar";
sha256 = "sha256-JdrMsRmTT8U8RZDI2SnQxM5WGMpo1pL2CQ5BqLxcf5M=";
};

View file

@ -63,7 +63,7 @@ rustPlatform.buildRustPackage rec {
'';
postFixup = ''
patchelf $out/bin/${pname} \
patchelf $out/bin/coppwr \
--add-rpath ${lib.makeLibraryPath [ libGL libxkbcommon wayland ]}
'';

View file

@ -24,7 +24,7 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitHub {
owner = "pop-os";
repo = pname;
repo = "cosmic-edit";
rev = "epoch-${version}";
hash = "sha256-ZG5Ctyp2crTDS0WxhQqwN4T6WR5qW79HTbICMlOA3P8=";
};
@ -93,7 +93,7 @@ rustPlatform.buildRustPackage rec {
# LD_LIBRARY_PATH can be removed once tiny-xlib is bumped above 0.2.2
postInstall = ''
wrapProgram "$out/bin/${pname}" \
wrapProgram "$out/bin/cosmic-edit" \
--suffix XDG_DATA_DIRS : "${cosmic-icons}/share" \
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [
xorg.libX11 xorg.libXcursor xorg.libXi xorg.libXrandr vulkan-loader libxkbcommon wayland

View file

@ -18,7 +18,7 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitHub {
owner = "pop-os";
repo = pname;
repo = "cosmic-files";
rev = "epoch-${version}";
hash = "sha256-UwQwZRzOyMvLRRmU2noxGrqblezkR8J2PNMVoyG0M0w=";
};
@ -68,7 +68,7 @@ rustPlatform.buildRustPackage rec {
# LD_LIBRARY_PATH can be removed once tiny-xlib is bumped above 0.2.2
postInstall = ''
wrapProgram "$out/bin/${pname}" \
wrapProgram "$out/bin/cosmic-files" \
--suffix XDG_DATA_DIRS : "${cosmic-icons}/share" \
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ xorg.libX11 xorg.libXcursor xorg.libXrandr xorg.libXi wayland ]}
'';

View file

@ -9,7 +9,7 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitHub {
owner = "pop-os";
repo = pname;
repo = "cosmic-store";
rev = "epoch-${version}";
hash = "sha256-RuqWO2/sqMMd9xMRClAy7cwv7iCTEC15TZ7JLBZ2zwM=";
fetchSubmodules = true;
@ -77,7 +77,7 @@ rustPlatform.buildRustPackage rec {
# LD_LIBRARY_PATH can be removed once tiny-xlib is bumped above 0.2.2
postInstall = ''
wrapProgram "$out/bin/${pname}" \
wrapProgram "$out/bin/cosmic-store" \
--suffix XDG_DATA_DIRS : "${cosmic-icons}/share" \
--prefix LD_LIBRARY_PATH : ${
lib.makeLibraryPath [

View file

@ -22,7 +22,7 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitHub {
owner = "pop-os";
repo = pname;
repo = "cosmic-term";
rev = "epoch-${version}";
hash = "sha256-dY4QGQXJFL+yjCYRGCg3NfMLMjlEBSEmxHn68PvhCAQ=";
};
@ -95,7 +95,7 @@ rustPlatform.buildRustPackage rec {
# LD_LIBRARY_PATH can be removed once tiny-xlib is bumped above 0.2.2
postInstall = ''
wrapProgram "$out/bin/${pname}" \
wrapProgram "$out/bin/cosmic-term" \
--suffix XDG_DATA_DIRS : "${cosmic-icons}/share" \
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [
libxkbcommon

View file

@ -15,12 +15,12 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitHub {
owner = "nix-community";
repo = pname;
repo = "crate2nix";
rev = version;
hash = "sha256-esWhRnt7FhiYq0CcIxw9pvH+ybOQmWBfHYMtleaMhBE=";
};
sourceRoot = "${src.name}/${pname}";
sourceRoot = "${src.name}/crate2nix";
cargoHash = "sha256-nQ1VUCFMmpWZWvKFbyJFIZUJ24N9ZPY8JCHWju385NE=";
@ -33,7 +33,7 @@ rustPlatform.buildRustPackage rec {
doCheck = false;
postInstall = ''
wrapProgram $out/bin/${pname} \
wrapProgram $out/bin/crate2nix \
--prefix PATH ":" ${
lib.makeBinPath [
cargo
@ -44,8 +44,8 @@ rustPlatform.buildRustPackage rec {
for shell in bash zsh fish
do
$out/bin/${pname} completions -s $shell
installShellCompletion ${pname}.$shell || installShellCompletion --$shell _${pname}
$out/bin/crate2nix completions -s $shell
installShellCompletion crate2nix.$shell || installShellCompletion --$shell _crate2nix
done
'';

View file

@ -72,7 +72,7 @@ stdenv.mkDerivation rec {
# for lib/cups/filter/kyofilter_pre_H
wrapPythonProgramsIn $out/lib/cups/filter "$propagatedBuildInputs"
install -Dm444 usr/share/doc/kyodialog/copyright $out/share/doc/${pname}/copyright
install -Dm444 usr/share/doc/kyodialog/copyright $out/share/doc/cups-kyocera-3500-4500/copyright
'';
meta = with lib; {

View file

@ -48,11 +48,11 @@ stdenv.mkDerivation rec {
'' + (if buildNativeImage then ''
mv dbqn $out/bin
'' else ''
mkdir -p $out/share/${pname}
mv BQN.jar $out/share/${pname}/
mkdir -p $out/share/dbqn
mv BQN.jar $out/share/dbqn/
makeWrapper "${lib.getBin jdk}/bin/java" "$out/bin/dbqn" \
--add-flags "-jar $out/share/${pname}/BQN.jar"
--add-flags "-jar $out/share/dbqn/BQN.jar"
'') + ''
ln -s $out/bin/dbqn $out/bin/bqn

View file

@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
version = "45.0.1";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
url = "mirror://gnome/sources/dconf-editor/${lib.versions.major version}/dconf-editor-${version}.tar.xz";
sha256 = "sha256-EYApdnju2uYhfMUUomOMGH0vHR7ycgy5B5t0DEKZQd0=";
};
@ -64,7 +64,7 @@ stdenv.mkDerivation rec {
passthru = {
updateScript = gnome.updateScript {
packageName = pname;
packageName = "dconf-editor";
};
};

View file

@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
outputs = [ "out" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/devhelp/${lib.versions.major version}/${pname}-${version}.tar.xz";
url = "mirror://gnome/sources/devhelp/${lib.versions.major version}/devhelp-${version}.tar.xz";
sha256 = "Y87u/QU5LgIESIHvHs1yQpNVPaVzW378CCstE/6F3QQ=";
};

View file

@ -25,7 +25,7 @@ buildGoModule rec {
];
passthru.tests = {
simple = runCommand "${pname}-test" { } ''
simple = runCommand "dmarc-report-converter-test" { } ''
${dmarc-report-converter}/bin/dmarc-report-converter -h > $out
'';
};

View file

@ -15,7 +15,7 @@ rustPlatform.buildRustPackage {
src = fetchFromGitLab {
domain = "gitlab.computer.surgery";
owner = "charles";
repo = pname;
repo = "engage";
rev = "v${version}";
hash = "sha256-niXh63xTpXSp9Wqwfi8hUBKJSClOUSvB+TPCTaqHfZk=";
};
@ -27,11 +27,11 @@ rustPlatform.buildRustPackage {
];
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) (
"installShellCompletion --cmd ${pname} "
"installShellCompletion --cmd engage "
+ builtins.concatStringsSep
" "
(builtins.map
(shell: "--${shell} <($out/bin/${pname} completions ${shell})")
(shell: "--${shell} <($out/bin/engage completions ${shell})")
[
"bash"
"fish"

View file

@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
url = "mirror://gnome/sources/eog/${lib.versions.major version}/eog-${version}.tar.xz";
sha256 = "sha256-tQ8yHHCsZK97yqW0Rg3GdbPKYP2tOFYW86x7dw4GZv4=";
};
@ -111,7 +111,7 @@ stdenv.mkDerivation rec {
passthru = {
updateScript = gnome.updateScript {
packageName = pname;
packageName = "eog";
};
};

View file

@ -55,7 +55,7 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" ];
src = fetchurl {
url = "mirror://gnome/sources/evolution-data-server/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
url = "mirror://gnome/sources/evolution-data-server/${lib.versions.majorMinor version}/evolution-data-server-${version}.tar.xz";
hash = "sha256-GzaoOdscjYmAZuGb54uZWTCgovKohvFJ5PZOF1XwZPc=";
};
@ -72,7 +72,7 @@ stdenv.mkDerivation rec {
prePatch = ''
substitute ${./hardcode-gsettings.patch} hardcode-gsettings.patch \
--subst-var-by EDS ${glib.makeSchemaPath "$out" "${pname}-${version}"} \
--subst-var-by EDS ${glib.makeSchemaPath "$out" "evolution-data-server-${version}"} \
--subst-var-by GDS ${glib.getSchemaPath gsettings-desktop-schemas}
patches="$patches $PWD/hardcode-gsettings.patch"
'';
@ -149,7 +149,7 @@ stdenv.mkDerivation rec {
'';
postInstall = lib.optionalString stdenv.isDarwin ''
ln -s $out/lib/${pname}/*.dylib $out/lib/
ln -s $out/lib/evolution-data-server/*.dylib $out/lib/
'';
passthru = {

View file

@ -43,10 +43,10 @@ stdenv.mkDerivation rec {
ln -s ${godot3-export-templates}/share/godot/templates $HOME/.local/share/godot
mkdir -p $out/share/find-billy
godot3-headless --export-pack 'Linux/X11' $out/share/${pname}/${pname}.pck
makeWrapper ${godot3}/bin/godot3 $out/bin/${pname} \
godot3-headless --export-pack 'Linux/X11' $out/share/find-billy/find-billy.pck
makeWrapper ${godot3}/bin/godot3 $out/bin/find-billy \
--add-flags "--main-pack" \
--add-flags "$out/share/${pname}/${pname}.pck"
--add-flags "$out/share/find-billy/find-billy.pck"
runHook postBuild
'';
@ -55,7 +55,7 @@ stdenv.mkDerivation rec {
runHook preInstall
just build-icons
install -D ${pname}.desktop -t $out/share/applications
install -D find-billy.desktop -t $out/share/applications
runHook postInstall
'';

View file

@ -76,7 +76,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
};
postInstall = ''
mv $out/share/php/${pname}/* $out/
mv $out/share/php/firefly-iii/* $out/
rm -R $out/share $out/storage $out/bootstrap/cache $out/node_modules
ln -s ${dataDir}/storage $out/storage
ln -s ${dataDir}/cache $out/bootstrap/cache

View file

@ -21,7 +21,7 @@ stdenvNoCC.mkDerivation rec {
src = fetchFromGitHub {
owner = "ful1e5";
repo = pname;
repo = "fuchsia-cursor";
rev = "v${version}";
hash = "sha256-WnDtUsjRXT7bMppgwU5BIDqphP69DmPzQM/0qXES5tM=";
};

View file

@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
url = "mirror://gnome/sources/geary/${lib.versions.major version}/geary-${version}.tar.xz";
sha256 = "r60VEwKBfd8Ji15BbnrH8tXupWejuAu5C9PGKv0TuaE=";
};
@ -142,7 +142,7 @@ stdenv.mkDerivation rec {
passthru = {
updateScript = gnome.updateScript {
packageName = pname;
packageName = "geary";
};
};

View file

@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/ghex/${lib.versions.major version}/${pname}-${version}.tar.xz";
url = "mirror://gnome/sources/ghex/${lib.versions.major version}/ghex-${version}.tar.xz";
hash = "sha256-ocRvMCDLNYuDIwJds6U5yX2ZSkxG9wH0jtxjV/f7y9E=";
};

View file

@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
version = "44";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
url = "mirror://gnome/sources/gitg/${lib.versions.majorMinor version}/gitg-${version}.tar.xz";
hash = "sha256-NCoxaE2rlnHNNBvT485mWtzuBGDCoIHdxJPNvAMTJTA=";
};
@ -82,7 +82,7 @@ stdenv.mkDerivation rec {
passthru = {
updateScript = gnome.updateScript {
packageName = pname;
packageName = "gitg";
};
};

View file

@ -51,7 +51,7 @@ in buildGoModule rec {
"-X github.com/glasskube/glasskube/internal/config.Commit=${src.rev}"
];
subPackages = [ "cmd/${pname}" "cmd/package-operator" ];
subPackages = [ "cmd/glasskube" "cmd/package-operator" ];
nativeBuildInputs = [ installShellFiles ];

View file

@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" ];
src = fetchurl {
url = "mirror://gnome/sources/gnome-autoar/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
url = "mirror://gnome/sources/gnome-autoar/${lib.versions.majorMinor version}/gnome-autoar-${version}.tar.xz";
sha256 = "wK++MzvPPLFEGh9XTMjsexuBl3eRRdTt7uKJb9rPw8I=";
};

View file

@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
version = "46.1";
src = fetchurl {
url = "mirror://gnome/sources/gnome-calculator/${lib.versions.major version}/${pname}-${version}.tar.xz";
url = "mirror://gnome/sources/gnome-calculator/${lib.versions.major version}/gnome-calculator-${version}.tar.xz";
hash = "sha256-LTZ1CnOJAIYSLPPwyD5oUXiRWFYVFlMG+hWWqRhmgkc=";
};

View file

@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
version = "46.1";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
url = "mirror://gnome/sources/gnome-calendar/${lib.versions.major version}/gnome-calendar-${version}.tar.xz";
hash = "sha256-mGH/e4q9W3sgaQulXrdULH7FNLVmJp4ptbHoWMFhCJc=";
};
@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
passthru = {
updateScript = gnome.updateScript {
packageName = pname;
packageName = "gnome-calendar";
};
};

View file

@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
version = "3.18.0";
src = fetchurl {
url = "mirror://gnome/sources/gnome-common/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
url = "mirror://gnome/sources/gnome-common/${lib.versions.majorMinor version}/gnome-common-${version}.tar.xz";
sha256 = "22569e370ae755e04527b76328befc4c73b62bfd4a572499fde116b8318af8cf";
};

View file

@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
version = "40.0";
src = fetchurl {
url = "mirror://gnome/sources/gnome-dictionary/${lib.versions.major version}/${pname}-${version}.tar.xz";
url = "mirror://gnome/sources/gnome-dictionary/${lib.versions.major version}/gnome-dictionary-${version}.tar.xz";
sha256 = "1d8dhcfys788vv27v34i3s3x3jdvdi2kqn2a5p8c937a9hm0qr9f";
};

View file

@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/gnome-disk-utility/${lib.versions.major version}/${pname}-${version}.tar.xz";
url = "mirror://gnome/sources/gnome-disk-utility/${lib.versions.major version}/gnome-disk-utility-${version}.tar.xz";
hash = "sha256-RkZJFIxtZ3HxrC6/5DpOUZIFsRwtkUoJ8qABgh0GlX0=";
};

View file

@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/gnome-font-viewer/${lib.versions.major version}/${pname}-${version}.tar.xz";
url = "mirror://gnome/sources/gnome-font-viewer/${lib.versions.major version}/gnome-font-viewer-${version}.tar.xz";
hash = "sha256-WS9AHkhdAswETUh7tcjgTJYdpoViFnaKWfH/mL0tU3w=";
};

View file

@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" ];
src = fetchurl {
url = "mirror://gnome/sources/gnome-keyring/${lib.versions.major version}/${pname}-${version}.tar.xz";
url = "mirror://gnome/sources/gnome-keyring/${lib.versions.major version}/gnome-keyring-${version}.tar.xz";
hash = "sha256-vybJZriot/MoXsyLs+RnucIPlTW5TcRRycVZ3c/2GSU=";
};

View file

@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
version = "41.0";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
url = "mirror://gnome/sources/gnome-screenshot/${lib.versions.major version}/gnome-screenshot-${version}.tar.xz";
sha256 = "Stt97JJkKPdCY9V5ZnPPFC5HILbnaPVGio0JM/mMlZc=";
};
@ -68,7 +68,7 @@ stdenv.mkDerivation rec {
passthru = {
updateScript = gnome.updateScript {
packageName = pname;
packageName = "gnome-screenshot";
};
};

View file

@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/gnome-system-monitor/${lib.versions.major version}/${pname}-${version}.tar.xz";
url = "mirror://gnome/sources/gnome-system-monitor/${lib.versions.major version}/gnome-system-monitor-${version}.tar.xz";
hash = "sha256-U3YkgVjGhsMIJVRy6MKp5MFyVWQsFJ/HGYxtA05UdZk=";
};

View file

@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
inherit version;
src = fetchurl {
url = "https://git.savannah.gnu.org/cgit/gnucap.git/snapshot/${pname}-${version}.tar.gz";
url = "https://git.savannah.gnu.org/cgit/gnucap.git/snapshot/gnucap-${version}.tar.gz";
hash = "sha256-MUCtGw3BxGWgXgUwzklq5T1y9kjBTnFBa0/GK0hhl0E=";
};

View file

@ -12,7 +12,7 @@ buildGoModule rec {
version = "2.6.0";
src = fetchurl {
url = "http://www.goredo.cypherpunks.ru/download/${pname}-${version}.tar.zst";
url = "http://www.goredo.cypherpunks.ru/download/goredo-${version}.tar.zst";
hash = "sha256-XTL/otfCKC55TsUBBVors2kgFpOFh+6oekOOafOhcUs=";
};

View file

@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
version = "0.1.1";
src = fetchurl {
url = "https://files.ngyro.com/guile-semver/${pname}-${version}.tar.gz";
url = "https://files.ngyro.com/guile-semver/guile-semver-${version}.tar.gz";
hash = "sha256-T3kJGTdf6yBKjqLtqSopHZu03kyOscZ3Z4RYmoYlN4E=";
};

View file

@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
pname = "halo";
version = "2.18.0";
src = fetchurl {
url = "https://github.com/halo-dev/halo/releases/download/v${version}/${pname}-${version}.jar";
url = "https://github.com/halo-dev/halo/releases/download/v${version}/halo-${version}.jar";
hash = "sha256-XFV+cdqtBJID/s0I3Z6TBfeyzN/e9euUoQVTWy64NYM=";
};

View file

@ -14,7 +14,7 @@ flutterPackages.v3_19.buildFlutterApplication rec {
version = "2.6.0";
src = fetchFromGitHub {
owner = "intiface";
repo = pname;
repo = "intiface-central";
rev = "v${version}";
hash = "sha256-7+rw0cD8MJPFOkgmfHD6y+EojTGQhb15o1mn2p14eoE=";
};

View file

@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
version = "1.2405.17-jammy";
src = fetchurl {
url = "https://packages.microsoft.com/ubuntu/22.04/prod/pool/main/i/${pname}/${pname}_${version}_amd64.deb";
url = "https://packages.microsoft.com/ubuntu/22.04/prod/pool/main/i/intune-portal/intune-portal_${version}_amd64.deb";
hash = "sha256-WpVPWzh8jN092MaY2rMXhLfpVXsflMl9hOY9nNGJlLk=";
};

View file

@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
mkdir -p "$out/bin"
cp -r ./app/* "$out/bin"
cat << 'EOF' > "$out/bin/${pname}"
cat << 'EOF' > "$out/bin/iscc"
#!${runtimeShell}
export PATH=${wineWow64Packages.stable}/bin:$PATH
export WINEDLLOVERRIDES="mscoree=" # disable mono
@ -44,10 +44,10 @@ stdenv.mkDerivation rec {
${wineWow64Packages.stable}/bin/wine "$out/bin/ISCC.exe" "$wineInputFile"
EOF
substituteInPlace $out/bin/${pname} \
substituteInPlace $out/bin/iscc \
--replace "\$out" "$out"
chmod +x "$out/bin/${pname}"
chmod +x "$out/bin/iscc"
runHook postInstall
'';

View file

@ -22,7 +22,7 @@ let
nativeBuildInputs = [ appimageTools.appimage-exec ];
}
''
appimage-exec.sh -x $out ${src}/${pname}-${version}/${pname}
appimage-exec.sh -x $out ${src}/jetbrains-toolbox-${version}/jetbrains-toolbox
# JetBrains ship a broken desktop file. Despite registering a custom
# scheme handler for jetbrains:// URLs, they never mark the command as
@ -46,7 +46,7 @@ stdenv.mkDerivation {
runHook preInstall
install -Dm644 ${appimageContents}/.DirIcon $out/share/icons/hicolor/scalable/apps/jetbrains-toolbox.svg
makeWrapper ${appimage}/bin/${pname} $out/bin/${pname} \
makeWrapper ${appimage}/bin/jetbrains-toolbox $out/bin/jetbrains-toolbox \
--append-flags "--update-failed" \
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [icu]}

View file

@ -66,7 +66,7 @@ stdenv.mkDerivation rec {
installPhase = ''
runHook preInstall
install -D target/${pname}-${version}.jar $out/share/java/${pname}-${version}.jar
install -D target/jnr-posix-${version}.jar $out/share/java/jnr-posix-${version}.jar
runHook postInstall
'';

View file

@ -49,8 +49,8 @@ stdenv.mkDerivation rec {
installPhase = ''
runHook preInstall
install -m755 -D keymapp "$out/bin/${pname}"
install -Dm644 icon.png "$out/share/pixmaps/${pname}.png"
install -m755 -D keymapp "$out/bin/keymapp"
install -Dm644 icon.png "$out/share/pixmaps/keymapp.png"
runHook postInstall
'';

View file

@ -73,7 +73,7 @@ buildDotnetModule rec {
preFixup = ''
# remove binaries for other platform, like upstream does
pushd $out/lib/${pname}
pushd $out/lib/libation
rm -f *.x86.dll *.x64.dll
${lib.optionalString (stdenv.system != "x86_64-linux") "rm -f *.x64.so"}
${lib.optionalString (stdenv.system != "aarch64-linux") "rm -f *.arm64.so"}
@ -81,9 +81,9 @@ buildDotnetModule rec {
${lib.optionalString (stdenv.system != "aarch64-darwin") "rm -f *.arm64.dylib"}
popd
wrapDotnetProgram $out/lib/${pname}/Libation $out/bin/libation
wrapDotnetProgram $out/lib/${pname}/LibationCli $out/bin/libationcli
wrapDotnetProgram $out/lib/${pname}/Hangover $out/bin/hangover
wrapDotnetProgram $out/lib/libation/Libation $out/bin/libation
wrapDotnetProgram $out/lib/libation/LibationCli $out/bin/libationcli
wrapDotnetProgram $out/lib/libation/Hangover $out/bin/hangover
'';
meta = {

View file

@ -16,13 +16,13 @@ buildGoModule rec {
buildPhase = ''
runHook preBuild
go build -o ${pname}-${version}.so -buildmode=c-shared -tags=release ./exports
go build -o libeduvpn-common-${version}.so -buildmode=c-shared -tags=release ./exports
runHook postBuild
'';
installPhase = ''
runHook preInstall
install -Dt $out/lib ${pname}-${version}.so
install -Dt $out/lib libeduvpn-common-${version}.so
runHook postInstall
'';

View file

@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "mamba-org";
repo = "mamba";
rev = "${pname}-${version}";
rev = "libmamba-${version}";
hash = "sha256-sxZDlMFoMLq2EAzwBVO++xvU1C30JoIoZXEX/sqkXS0=";
};
nativeBuildInputs = [

View file

@ -5,15 +5,15 @@ stdenv.mkDerivation rec {
version = "2.7.8";
src = fetchFromGitHub {
owner = "littlefs-project";
repo = pname;
repo = "littlefs-fuse";
rev = "v${version}";
hash = "sha256-dJt2Tcw+qdcOoZ9ejao9NXys/OYQTvbP9+dD6DCzFAw=";
};
buildInputs = [ fuse ];
installPhase = ''
runHook preInstall
install -D lfs $out/bin/${pname}
ln -s $out/bin/${pname} $out/bin/mount.littlefs
install -D lfs $out/bin/littlefs-fuse
ln -s $out/bin/littlefs-fuse $out/bin/mount.littlefs
ln -s $out/bin $out/sbin
runHook postInstall
'';

View file

@ -33,7 +33,7 @@ in {
src = fetchurl {
inherit hash;
url = "https://github.com/logseq/logseq/releases/download/${version}/logseq-${suffix}";
name = lib.optionalString stdenv.isLinux "${pname}-${version}.AppImage";
name = lib.optionalString stdenv.isLinux "logseq-${version}.AppImage";
};
nativeBuildInputs = [ makeWrapper ]
@ -52,35 +52,35 @@ in {
appimageContents = appimageTools.extract { inherit pname src version; };
in
''
mkdir -p $out/bin $out/share/${pname} $out/share/applications
cp -a ${appimageContents}/{locales,resources} $out/share/${pname}
cp -a ${appimageContents}/Logseq.desktop $out/share/applications/${pname}.desktop
mkdir -p $out/bin $out/share/logseq $out/share/applications
cp -a ${appimageContents}/{locales,resources} $out/share/logseq
cp -a ${appimageContents}/Logseq.desktop $out/share/applications/logseq.desktop
# remove the `git` in `dugite` because we want the `git` in `nixpkgs`
chmod +w -R $out/share/${pname}/resources/app/node_modules/dugite/git
chmod +w $out/share/${pname}/resources/app/node_modules/dugite
rm -rf $out/share/${pname}/resources/app/node_modules/dugite/git
chmod -w $out/share/${pname}/resources/app/node_modules/dugite
chmod +w -R $out/share/logseq/resources/app/node_modules/dugite/git
chmod +w $out/share/logseq/resources/app/node_modules/dugite
rm -rf $out/share/logseq/resources/app/node_modules/dugite/git
chmod -w $out/share/logseq/resources/app/node_modules/dugite
mkdir -p $out/share/pixmaps
ln -s $out/share/${pname}/resources/app/icons/logseq.png $out/share/pixmaps/${pname}.png
ln -s $out/share/logseq/resources/app/icons/logseq.png $out/share/pixmaps/logseq.png
substituteInPlace $out/share/applications/${pname}.desktop \
--replace Exec=Logseq Exec=${pname} \
--replace Icon=Logseq Icon=${pname}
substituteInPlace $out/share/applications/logseq.desktop \
--replace Exec=Logseq Exec=logseq \
--replace Icon=Logseq Icon=logseq
'') + lib.optionalString stdenv.isDarwin ''
mkdir -p $out/{Applications/Logseq.app,bin}
cp -R . $out/Applications/Logseq.app
makeWrapper $out/Applications/Logseq.app/Contents/MacOS/Logseq $out/bin/${pname}
makeWrapper $out/Applications/Logseq.app/Contents/MacOS/Logseq $out/bin/logseq
'' + ''
runHook postInstall
'';
postFixup = lib.optionalString stdenv.isLinux ''
# set the env "LOCAL_GIT_DIRECTORY" for dugite so that we can use the git in nixpkgs
makeWrapper ${electron}/bin/electron $out/bin/${pname} \
makeWrapper ${electron}/bin/electron $out/bin/logseq \
--set "LOCAL_GIT_DIRECTORY" ${git} \
--add-flags $out/share/${pname}/resources/app \
--add-flags $out/share/logseq/resources/app \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}"
'';

View file

@ -7,7 +7,7 @@ stdenvNoCC.mkDerivation rec {
pname = "lxgw-wenkai-tc";
version = "1.330";
src = fetchurl {
url = "https://github.com/lxgw/LxgwWenKaiTC/releases/download/v${version}/${pname}-v${version}.tar.gz";
url = "https://github.com/lxgw/LxgwWenKaiTC/releases/download/v${version}/lxgw-wenkai-tc-v${version}.tar.gz";
hash = "sha256-qpX5shH1HbGMa287u/R1rMFgQeAUC0wwKFVD+QSTyho=";
};

View file

@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
version = "2.0.1";
src = fetchurl {
url = "https://packages.microsoft.com/ubuntu/22.04/prod/pool/main/m/${pname}/${pname}_${version}_amd64.deb";
url = "https://packages.microsoft.com/ubuntu/22.04/prod/pool/main/m/microsoft-identity-broker/microsoft-identity-broker_${version}_amd64.deb";
hash = "sha256-O9zbImSWMrRsaOozj5PsCRvQ3UsaJzLfoTohmLZvLkM=";
};

View file

@ -8,7 +8,7 @@ buildGoModule rec {
version = "4.9.1";
src = fetchFromGitHub {
owner = pname;
owner = "minetest-mapserver";
repo = "mapserver";
rev = "v${version}";
hash = "sha256-3bL23hwJgYMPV2nSSfq9plttcx7UYvhUa6OCbKfBACY=";
@ -19,8 +19,8 @@ buildGoModule rec {
meta = with lib; {
description = "Realtime mapserver for minetest";
mainProgram = "mapserver";
homepage = "https://github.com/${pname}/mapserver/blob/master/readme.md";
changelog = "https://github.com/${pname}/mapserver/releases/tag/v${version}";
homepage = "https://github.com/minetest-mapserver/mapserver/blob/master/readme.md";
changelog = "https://github.com/minetest-mapserver/mapserver/releases/tag/v${version}";
license = with licenses; [ mit cc-by-sa-30 ];
platforms = platforms.all;
maintainers = with maintainers; [ gm6k ];

View file

@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
version = "1.0.1";
src = fetchurl {
url = "https://packages.microsoft.com/ubuntu/22.04/prod/pool/main/m/${pname}/${pname}_${version}_amd64.deb";
url = "https://packages.microsoft.com/ubuntu/22.04/prod/pool/main/m/msalsdk-dbusclient/msalsdk-dbusclient_${version}_amd64.deb";
hash = "sha256-AVPrNxCjXGza2gGETP0YrlXeEgI6AjlrSVTtqKb2UBI=";
};

View file

@ -23,7 +23,7 @@ rustPlatform.buildRustPackage rec {
src = fetchFromSourcehut {
owner = "~soywod";
repo = "${pname}-cli";
repo = "neverest-cli";
rev = "v${version}";
hash = "sha256-3PSJyhxrOCiuHUeVHO77+NecnI5fN5EZfPhYizuYvtE=";
};

View file

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
version = "0.9.0";
src = fetchurl {
url = "https://github.com/askimed/${pname}/releases/download/v${version}/${pname}-${version}.tar.gz";
url = "https://github.com/askimed/nf-test/releases/download/v${version}/nf-test-${version}.tar.gz";
hash = "sha256-PhI866NrbokMsSrU6YeSv03S1+VcNqVJsocI3xPfDcc=";
};
sourceRoot = ".";

View file

@ -24,11 +24,11 @@ rustPlatform.buildRustPackage rec {
darwin.apple_sdk.frameworks.Security
];
env.NUMBAT_SYSTEM_MODULE_PATH = "${placeholder "out"}/share/${pname}/modules";
env.NUMBAT_SYSTEM_MODULE_PATH = "${placeholder "out"}/share/numbat/modules";
postInstall = ''
mkdir -p $out/share/${pname}
cp -r $src/${pname}/modules $out/share/${pname}/
mkdir -p $out/share/numbat
cp -r $src/numbat/modules $out/share/numbat/
'';
passthru.tests.version = testers.testVersion {

View file

@ -28,7 +28,7 @@ resholve.mkDerivation rec {
runHook preInstall
install -Dm0555 pdf2odt -t $out/bin
install -Dm0444 README.md LICENSE -t $out/share/doc/${pname}
install -Dm0444 README.md LICENSE -t $out/share/doc/pdf2odt
ln -rs $out/bin/pdf2odt $out/bin/pdf2ods

View file

@ -12,10 +12,10 @@ stdenvNoCC.mkDerivation rec {
installPhase = ''
runHook preInstall
install -Dm444 PlemolJP_HS/*.ttf -t $out/share/fonts/truetype/${pname}
install -Dm444 PlemolJP35_HS/*.ttf -t $out/share/fonts/truetype/${pname}-35
install -Dm444 PlemolJPConsole_HS/*.ttf -t $out/share/fonts/truetype/${pname}-console
install -Dm444 PlemolJP35Console_HS/*.ttf -t $out/share/fonts/truetype/${pname}-35console
install -Dm444 PlemolJP_HS/*.ttf -t $out/share/fonts/truetype/plemoljp-hs
install -Dm444 PlemolJP35_HS/*.ttf -t $out/share/fonts/truetype/plemoljp-hs-35
install -Dm444 PlemolJPConsole_HS/*.ttf -t $out/share/fonts/truetype/plemoljp-hs-console
install -Dm444 PlemolJP35Console_HS/*.ttf -t $out/share/fonts/truetype/plemoljp-hs-35console
runHook postInstall
'';

View file

@ -12,8 +12,8 @@ stdenvNoCC.mkDerivation rec {
installPhase = ''
runHook preInstall
install -Dm444 PlemolJPConsole_NF/*.ttf -t $out/share/fonts/truetype/${pname}-console
install -Dm444 PlemolJP35Console_NF/*.ttf -t $out/share/fonts/truetype/${pname}-35console
install -Dm444 PlemolJPConsole_NF/*.ttf -t $out/share/fonts/truetype/plemoljp-nf-console
install -Dm444 PlemolJP35Console_NF/*.ttf -t $out/share/fonts/truetype/plemoljp-nf-35console
runHook postInstall
'';

View file

@ -12,10 +12,10 @@ stdenvNoCC.mkDerivation rec {
installPhase = ''
runHook preInstall
install -Dm444 PlemolJP/*.ttf -t $out/share/fonts/truetype/${pname}
install -Dm444 PlemolJP35/*.ttf -t $out/share/fonts/truetype/${pname}-35
install -Dm444 PlemolJPConsole/*.ttf -t $out/share/fonts/truetype/${pname}-console
install -Dm444 PlemolJP35Console/*.ttf -t $out/share/fonts/truetype/${pname}-35console
install -Dm444 PlemolJP/*.ttf -t $out/share/fonts/truetype/plemoljp
install -Dm444 PlemolJP35/*.ttf -t $out/share/fonts/truetype/plemoljp-35
install -Dm444 PlemolJPConsole/*.ttf -t $out/share/fonts/truetype/plemoljp-console
install -Dm444 PlemolJP35Console/*.ttf -t $out/share/fonts/truetype/plemoljp-35console
runHook postInstall
'';

View file

@ -14,7 +14,7 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitHub {
owner = "moonrepo";
repo = pname;
repo = "proto";
rev = "v${version}";
hash = "sha256-o/du9XmiS7U5ypm6osQtVTjrJY60iLCkJ4DWCYOeIoY=";
};
@ -33,7 +33,7 @@ rustPlatform.buildRustPackage rec {
postInstall = ''
# proto looks up a proto-shim executable file in $PROTO_LOOKUP_DIR
wrapProgram $out/bin/${pname} \
wrapProgram $out/bin/proto \
--set PROTO_LOOKUP_DIR $out/bin
'';

View file

@ -15,7 +15,7 @@ buildDotnetModule rec {
src = fetchFromGitHub {
owner = "mattpannella";
repo = "${pname}";
repo = "pupdate";
rev = "${version}";
hash = "sha256-odlKNp6kjOAYeRIHnLniqkCXTi1UXF3szn8tJtrxzQU=";
};

View file

@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "PerryWerneck";
repo = pname;
repo = "pw3270";
rev = version;
hash = "sha256-Nk/OUqrWngKgb1D1Wi8q5ygKtvuRKUPhPQaLvWi1Z4g=";
};
@ -58,7 +58,7 @@ stdenv.mkDerivation rec {
postFixup = ''
# Schemas get installed to wrong directory.
mkdir -p $out/share/glib-2.0
mv $out/share/gsettings-schemas/${pname}-${version}/glib-2.0/schemas $out/share/glib-2.0/
mv $out/share/gsettings-schemas/pw3270-${version}/glib-2.0/schemas $out/share/glib-2.0/
rm -rf $out/share/gsettings-schemas
'';

View file

@ -35,7 +35,7 @@ buildGoModule rec {
[
"-s"
"-w"
"-X ${package_url}/internal/version.name=${pname}"
"-X ${package_url}/internal/version.name=ratchet"
"-X ${package_url}/internal/version.version=${version}"
"-X ${package_url}/internal/version.commit=${src.rev}"
];

View file

@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "World";
repo = pname;
repo = "read-it-later";
rev = version;
hash = "sha256-A8u1fecJAsVlordgZmUJt/KZWxx6EWMhfdayKWHTTFY=";
};

View file

@ -15,7 +15,7 @@ in
inherit version;
src = fetchurl {
url = "https://www.redmine.org/releases/${pname}-${version}.tar.gz";
url = "https://www.redmine.org/releases/redmine-${version}.tar.gz";
hash = "sha256-iiIyD9nJQOZZjzrV+3o5MxlchgaO7plLpvzcIsXOy1k=";
};

View file

@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
version = "3.9.6";
src = fetchurl {
url = "mirror://sourceforge/regina-rexx/regina-rexx/${version}/${pname}-${version}.tar.gz";
url = "mirror://sourceforge/regina-rexx/regina-rexx/${version}/regina-rexx-${version}.tar.gz";
hash = "sha256-7ZjHp/HVpBSLAv7xsWruSmpthljQGoDPXFAwFe8Br6U=";
};

View file

@ -34,12 +34,12 @@ stdenv.mkDerivation rec {
cp -aR . "$out/share/regripper/"
cat > "$out/bin/${pname}" << EOF
cat > "$out/bin/regripper" << EOF
#!${runtimeShell}
exec ${perl}/bin/perl $out/share/regripper/rip.pl "\$@"
EOF
chmod u+x "$out/bin/${pname}"
chmod u+x "$out/bin/regripper"
runHook postInstall
'';

View file

@ -47,19 +47,19 @@
mkdir -p $out/bin $out/share/{applications,revolt-desktop}
cp -a ${final.appimageContents}/{locales,resources} $out/share/${pname}
cp -a ${final.appimageContents}/revolt-desktop.desktop $out/share/applications/${pname}.desktop
cp -a ${final.appimageContents}/{locales,resources} $out/share/revolt-desktop
cp -a ${final.appimageContents}/revolt-desktop.desktop $out/share/applications/revolt-desktop.desktop
cp -a ${final.appimageContents}/usr/share/icons $out/share/icons
substituteInPlace $out/share/applications/${pname}.desktop \
--replace 'Exec=AppRun' 'Exec=${pname}'
substituteInPlace $out/share/applications/revolt-desktop.desktop \
--replace 'Exec=AppRun' 'Exec=revolt-desktop'
runHook postInstall
'';
postFixup = ''
makeWrapper ${electron}/bin/electron $out/bin/${pname} \
--add-flags $out/share/${pname}/resources/app.asar \
makeWrapper ${electron}/bin/electron $out/bin/revolt-desktop \
--add-flags $out/share/revolt-desktop/resources/app.asar \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform=wayland --enable-features=WaylandWindowDecorations}}"
'';
}
@ -77,7 +77,7 @@
mkdir -p "$out/Applications/" "$out/bin/"
mv Revolt.app "$out/Applications/"
makeWrapper "$out/Applications/Revolt.app/Contents/MacOS/Revolt" "$out/bin/${pname}"
makeWrapper "$out/Applications/Revolt.app/Contents/MacOS/Revolt" "$out/bin/revolt-desktop"
runHook postInstall
'';

View file

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
version = "20200313";
src = fetchurl {
url = "https://www.mirbsd.org/MirOS/dist/mir/rs/${pname}-${version}.tar.gz";
url = "https://www.mirbsd.org/MirOS/dist/mir/rs/rs-${version}.tar.gz";
sha256 = "0gxwlfk7bzivpp2260w2r6gkyl7vdi05cggn1fijfnp8kzf1b4li";
};

View file

@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
version = "43.0";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
url = "mirror://gnome/sources/seahorse/${lib.versions.major version}/seahorse-${version}.tar.xz";
hash = "sha256-Wx0b+6dPNlgifzyC4pbzMN0PzR70Y2tqIYIo/uXqgy0=";
};
@ -99,7 +99,7 @@ stdenv.mkDerivation rec {
passthru = {
updateScript = gnome.updateScript {
packageName = pname;
packageName = "seahorse";
};
};

View file

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "24eme";
repo = "${pname}";
repo = "signaturepdf";
rev = "v${version}";
hash = "sha256-WPcnG1iRT4l4S/CSZkj75lIiyzVLsrSyH3GUJa7Tedc=";
};

View file

@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
url = "mirror://gnome/sources/simple-scan/${lib.versions.major version}/simple-scan-${version}.tar.xz";
hash = "sha256-wW5lkBQv5WO+UUMSKzu7U/awCn2p2VL2HEf6Jve08Kk=";
};

View file

@ -92,14 +92,14 @@ maven.buildMavenPackage rec {
LATEST_TAG=$(curl https://api.github.com/repos/${src.owner}/${src.repo}/tags | \
jq -r '[.[] | select(.name | test("^[0-9]"))] | sort_by(.name | split(".") |
map(tonumber)) | reverse | .[0].name')
update-source-version ${pname} "$LATEST_TAG"
update-source-version sonarlint-ls "$LATEST_TAG"
sed -i '0,/mvnHash *= *"[^"]*"/{s/mvnHash = "[^"]*"/mvnHash = ""/}' ${pkgFile}
echo -e "\nFetching all mvn dependencies to calculate the mvnHash. This may take a while ..."
nix-build -A ${pname}.fetchedMavenDeps 2> ${pname}-stderr.log || true
nix-build -A sonarlint-ls.fetchedMavenDeps 2> sonarlint-ls-stderr.log || true
NEW_MVN_HASH=$(grep "got:" ${pname}-stderr.log | awk '{print ''$2}')
rm ${pname}-stderr.log
NEW_MVN_HASH=$(grep "got:" sonarlint-ls-stderr.log | awk '{print ''$2}')
rm sonarlint-ls-stderr.log
# escaping double quotes looks ugly but is needed for variable substitution
# use # instead of / as separator because the sha256 might contain the / character
sed -i "0,/mvnHash *= *\"[^\"]*\"/{s#mvnHash = \"[^\"]*\"#mvnHash = \"$NEW_MVN_HASH\"#}" ${pkgFile}

View file

@ -10,7 +10,7 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitHub {
owner = "alexpovel";
repo = "srgn";
rev = "${pname}-v${version}";
rev = "srgn-v${version}";
hash = "sha256-d53aSo1gzINC8WdMzjCHzU/8+9kvrrGglV4WsiCt+rM=";
};

View file

@ -35,7 +35,7 @@ buildGoModule rec {
nativeBuildInputs = [ installShellFiles makeWrapper ];
postInstall = ''
mv $out/bin/{${pname},stackit} # rename the binary
mv $out/bin/{stackit-cli,stackit} # rename the binary
installShellCompletion --cmd stackit \
--bash <($out/bin/stackit completion bash) \

View file

@ -14,7 +14,7 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitHub {
owner = "emk";
repo = "subtitles-rs";
rev = "${pname}_v${version}";
rev = "substudy_v${version}";
hash = "sha256-ACYbSQKaOJ2hS8NbOAppfKo+Mk3CKg0OAwb56AH42Zs=";
};

View file

@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/sushi/${lib.versions.major version}/${pname}-${version}.tar.xz";
url = "mirror://gnome/sources/sushi/${lib.versions.major version}/sushi-${version}.tar.xz";
hash = "sha256-lghbqqQwqyFCxgaqtcR+L7sv0+two1ITfmXFmlig8sY=";
};

View file

@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
name = "swayosd-${version}";
hash = "sha256-exbVanUvGp0ub4WE3VcsN8hkcK0Ipf0tNfd92UecICg=";
};

View file

@ -20,11 +20,11 @@ stdenvNoCC.mkDerivation rec {
desktopItems = [
(makeDesktopItem {
name = pname;
name = "synthesia";
desktopName = "Synthesia";
comment = meta.description;
exec = pname;
icon = pname;
exec = "synthesia";
icon = "synthesia";
categories = [ "Game" "Audio" ];
startupWMClass = "synthesia.exe";
})
@ -47,11 +47,11 @@ stdenvNoCC.mkDerivation rec {
installPhase = ''
runHook preInstall
mkdir -p $out/bin
cat <<'EOF' > $out/bin/${pname}
cat <<'EOF' > $out/bin/synthesia
#!${runtimeShell}
export PATH=${wineWowPackages.stable}/bin:$PATH
export WINEARCH=win64
export WINEPREFIX="''${SYNTHESIA_HOME:-"''${XDG_DATA_HOME:-"''${HOME}/.local/share"}/${pname}"}/wine"
export WINEPREFIX="''${SYNTHESIA_HOME:-"''${XDG_DATA_HOME:-"''${HOME}/.local/share"}/synthesia"}/wine"
export WINEDLLOVERRIDES="mscoree=" # disable mono
if [ ! -d "$WINEPREFIX" ] ; then
mkdir -p "$WINEPREFIX"
@ -59,8 +59,8 @@ stdenvNoCC.mkDerivation rec {
fi
wine "$WINEPREFIX/drive_c/Program Files (x86)/Synthesia/Synthesia.exe"
EOF
chmod +x $out/bin/${pname}
install -Dm644 ${icon} $out/share/icons/hicolor/48x48/apps/${pname}.png
chmod +x $out/bin/synthesia
install -Dm644 ${icon} $out/share/icons/hicolor/48x48/apps/synthesia.png
runHook postInstall
'';

View file

@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
buildInputs = [ lzlib ];
src = fetchurl {
url = "mirror://savannah/lzip/${pname}/${pname}-${version}.tar.lz";
url = "mirror://savannah/lzip/tarlz/tarlz-${version}.tar.lz";
sha256 = "7d0bbe9c3a137bb93a10be56988fcf7362e4dbc65490639edc4255b704105fce";
};
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
doCheck = false; # system clock issues
meta = with lib; {
homepage = "https://www.nongnu.org/lzip/${pname}.html";
homepage = "https://www.nongnu.org/lzip/tarlz.html";
description =
"Massively parallel combined implementation of the tar archiver and the lzip compressor";
license = licenses.gpl2Plus;

View file

@ -46,8 +46,8 @@ stdenv.mkDerivation rec {
postInstall = lib.optionalString (!enableStatic) ''
rm $out/lib/libtermcap.a
'' + lib.optionalString enableShared (let
libName = "lib${pname}${stdenv.hostPlatform.extensions.sharedLibrary}";
impLibName = "lib${pname}.dll.a";
libName = "libtermcap${stdenv.hostPlatform.extensions.sharedLibrary}";
impLibName = "libtermcap.dll.a";
winImpLib = lib.optionalString stdenv.hostPlatform.isWindows
"-Wl,--out-implib,${impLibName}";
in ''

View file

@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
version = "1.2.11";
src = fetchurl {
url = "mirror://alsa/tinycompress/${pname}-${version}.tar.bz2";
url = "mirror://alsa/tinycompress/tinycompress-${version}.tar.bz2";
hash = "sha256-6754jCgyjnzKJFqvkZSlrQ3JHp4NyIPCz5/rbULJ8/w=";
};

View file

@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
version = "43.0";
src = fetchurl {
url = "mirror://gnome/sources/totem/${lib.versions.major version}/${pname}-${version}.tar.xz";
url = "mirror://gnome/sources/totem/${lib.versions.major version}/totem-${version}.tar.xz";
sha256 = "s202VZKLWJZGKk05+Dtq1m0328nJnc6wLqii43OUpB4=";
};

View file

@ -48,8 +48,8 @@ rustPlatform.buildRustPackage {
# Remove test binaries (e.g. `empty-argv`, `corrupted-envp`) and only retain `tracexec`
find "$out/bin" -type f \! -name tracexec -print0 | xargs -0 rm -v
install -Dm644 LICENSE -t "$out/share/licenses/${pname}/"
install -Dm644 THIRD_PARTY_LICENSES.HTML -t "$out/share/licenses/${pname}/"
install -Dm644 LICENSE -t "$out/share/licenses/tracexec/"
install -Dm644 THIRD_PARTY_LICENSES.HTML -t "$out/share/licenses/tracexec/"
'';
passthru.updateScript = nix-update-script { };

View file

@ -19,7 +19,7 @@ buildGoModule rec {
ldflags = [
"-s"
"-w"
"-X git.numtide.com/numtide/treefmt/build.Name=${pname}"
"-X git.numtide.com/numtide/treefmt/build.Name=treefmt"
"-X git.numtide.com/numtide/treefmt/build.Version=v${version}"
];

View file

@ -11,7 +11,7 @@ stdenvNoCC.mkDerivation rec {
installPhase = ''
runHook preInstall
install -Dm644 *.ttf -t $out/share/fonts/${pname}
install -Dm644 *.ttf -t $out/share/fonts/udev-gothic-nf
runHook postInstall
'';

View file

@ -11,7 +11,7 @@ stdenvNoCC.mkDerivation rec {
installPhase = ''
runHook preInstall
install -Dm644 *.ttf -t $out/share/fonts/${pname}
install -Dm644 *.ttf -t $out/share/fonts/udev-gothic
runHook postInstall
'';

Some files were not shown because too many files have changed in this diff Show more