Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 92bb84220fc4
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9968d0f053cd
Choose a head ref
  • 13 commits
  • 5 files changed
  • 8 contributors

Commits on Jul 2, 2018

  1. Copy the full SHA
    d46fde9 View commit details

Commits on Jul 6, 2018

  1. Copy the full SHA
    72dc6fd View commit details
  2. Copy the full SHA
    8ae9e7e View commit details

Commits on Jul 21, 2018

  1. Copy the full SHA
    9092083 View commit details

Commits on Aug 10, 2018

  1. Copy the full SHA
    1704265 View commit details
  2. gildas: update source url

    smaret committed Aug 10, 2018
    Copy the full SHA
    e3b4239 View commit details

Commits on Aug 12, 2018

  1. Copy the full SHA
    fdec6b1 View commit details

Commits on Aug 13, 2018

  1. Copy the full SHA
    b6e881a View commit details
  2. Merge pull request #42885 from smaret/gildas

    gildas: 20180601_a -> 20180701_a
    gebner authored Aug 13, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    7478da5 View commit details
  3. Copy the full SHA
    6afd19e View commit details
  4. Merge pull request #44967 from Ekleog/rust-patch

    buildRustPackage: allow patches to fix Cargo.lock
    Mic92 authored Aug 13, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    3dc78e6 View commit details
  5. Revert "buildRustPackage: allow patches to fix Cargo.lock"

    This reverts commit b6e881a.
    
    We need to fix checksums for this pull request first.
    
    Also see NixOS/nixpkgs#44967
    Mic92 committed Aug 13, 2018
    Copy the full SHA
    cfff3eb View commit details
  6. Merge pull request #44948 from Izorkin/servant

    servant-sphinx-documentation: fix sha256sum
    basvandijk authored Aug 13, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    9968d0f View commit details
34 changes: 20 additions & 14 deletions pkgs/applications/misc/masterpdfeditor/default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
{ stdenv, fetchurl, sane-backends, qtbase, qtsvg, nss, autoPatchelfHook }:

let
version = "5.1.00";
version = "5.1.12";

in stdenv.mkDerivation {
name = "masterpdfeditor-${version}";

src = fetchurl {
url = "https://code-industry.net/public/master-pdf-editor-${version}_qt5.amd64.tar.gz";
sha256 = "1s2zhx9xr1ny5s8hmlb99v3z1v26vmx87iixk8cdgndz046p9bg9";
sha256 = "1i3pdrhnlj06phm36gs42s6b94pigcfb8wa5dhmplxn0dqp434hq";
};

nativeBuildInputs = [ autoPatchelfHook ];
@@ -15,21 +18,24 @@ in stdenv.mkDerivation {
dontStrip = true;

installPhase = ''
p=$out/opt/masterpdfeditor
mkdir -p $out/bin $p $out/share/applications $out/share/pixmaps
runHook preInstall
p=$out/opt/masterpdfeditor
mkdir -p $out/bin
substituteInPlace masterpdfeditor5.desktop \
--replace 'Exec=/opt/master-pdf-editor-5' "Exec=$out/bin" \
--replace 'Path=/opt/master-pdf-editor-5' "Path=$out/bin" \
--replace 'Icon=/opt/master-pdf-editor-5' "Icon=$out/share/pixmaps"
cp -v masterpdfeditor5.png $out/share/pixmaps/
cp -v masterpdfeditor5.desktop $out/share/applications
substituteInPlace masterpdfeditor5.desktop \
--replace 'Exec=/opt/master-pdf-editor-5' "Exec=$out/bin" \
--replace 'Path=/opt/master-pdf-editor-5' "Path=$out/bin" \
--replace 'Icon=/opt/master-pdf-editor-5' "Icon=$out/share/pixmaps"
cp -v masterpdfeditor5 $p/
ln -s $p/masterpdfeditor5 $out/bin/masterpdfeditor5
cp -v -r stamps templates lang fonts $p
install -Dm644 -t $out/share/pixmaps masterpdfeditor5.png
install -Dm644 -t $out/share/applications masterpdfeditor5.desktop
install -Dm755 -t $p masterpdfeditor5
install -Dm644 license.txt $out/share/$name/LICENSE
ln -s $p/masterpdfeditor5 $out/bin/masterpdfeditor5
cp -v -r stamps templates lang fonts $p
install -D license.txt $out/share/$name/LICENSE
runHook postInstall
'';

meta = with stdenv.lib; {
12 changes: 12 additions & 0 deletions pkgs/applications/science/astronomy/gildas/aarch64.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff -ruN gildas-src-jul18a/admin/define-system.sh gildas-src-jul18a.aarch64/admin/define-system.sh
--- gildas-src-jul18a/admin/define-system.sh 2018-06-12 15:22:32.000000000 +0200
+++ gildas-src-jul18a.aarch64/admin/define-system.sh 2018-07-21 13:05:52.000000000 +0200
@@ -174,7 +174,7 @@
DEFAULT_CONFIG= # Default config is empty
case `uname` in
Linux)
- if [ `uname -m | grep -c "x86_64"` -ne 0 ]; then
+ if [ `uname -m | grep -c "64"` -ne 0 ]; then
GAG_MACHINE=x86_64
else
GAG_MACHINE=pc
16 changes: 6 additions & 10 deletions pkgs/applications/science/astronomy/gildas/default.nix
Original file line number Diff line number Diff line change
@@ -7,13 +7,13 @@ let
in

stdenv.mkDerivation rec {
srcVersion = "jun18a";
version = "20180601_a";
srcVersion = "jul18a";
version = "20180701_a";
name = "gildas-${version}";

src = fetchurl {
url = "http://www.iram.fr/~gildas/dist/gildas-src-${srcVersion}.tar.gz";
sha256 = "0k4x0g69fphb1759cwcw6bbs8imwmq0qwj6zqixxk60skk4n4jvb";
url = "http://www.iram.fr/~gildas/dist/archive/gildas/gildas-src-${srcVersion}.tar.gz";
sha256 = "0kl3zf6b1kv8hgsfrarsnm2gnrdax3vi8f856249y4nxsa7lbv2i";
};

enableParallelBuilding = true;
@@ -22,20 +22,16 @@ stdenv.mkDerivation rec {

buildInputs = [ gtk2-x11 lesstif cfitsio python27Env ];

patches = [ ./wrapper.patch ./return-error-code.patch ./clang.patch ];
patches = [ ./wrapper.patch ./return-error-code.patch ./clang.patch ./mod.patch ./aarch64.patch ];

configurePhase=''
substituteInPlace admin/wrapper.sh --replace '%%OUT%%' $out
substituteInPlace admin/wrapper.sh --replace '%%PYTHONHOME%%' ${python27Env}
substituteInPlace utilities/main/gag-makedepend.pl --replace '/usr/bin/perl' ${perl}/bin/perl
source admin/gildas-env.sh -c gfortran -o openmp
echo "gag_doc: $out/share/doc/" >> kernel/etc/gag.dico.lcl
'';

buildPhase=''
make depend
make
'';

postInstall=''
mkdir -p $out/bin
cp -a ../gildas-exe-${srcVersion}/* $out
17 changes: 17 additions & 0 deletions pkgs/applications/science/astronomy/gildas/mod.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
diff -ruN gildas-src-jul18a/admin/Makefile.build gildas-src-jul18a.mod/admin/Makefile.build
--- gildas-src-jul18a/admin/Makefile.build 2018-06-14 14:36:54.000000000 +0200
+++ gildas-src-jul18a.mod/admin/Makefile.build 2018-07-06 13:31:46.000000000 +0200
@@ -291,6 +291,13 @@
win-$(LIB_IDENTITY)-und.def -o $@ $(FLDLIBS) $(LIB_DEPENDS) $(ADD_LIBS) $(SYS_LIBS))
endif

+# Dummy rules for modules just so that make consider the module a
+# valid dependency when first parsing the makefiles. This rule should
+# never be applied as the modules are a by-product of the compilation
+# of the object
+$(builddir)/%.mod:
+ echo "dummy" > /dev/null
+
# Fortran executables
$(bindir)/% : $(builddir)/%.o | $(bindir)
$(FC) $(ALL_FLDFLAGS) $< $(OBJECTS) -o $@ \
2 changes: 1 addition & 1 deletion pkgs/development/haskell-modules/configuration-common.nix
Original file line number Diff line number Diff line change
@@ -727,7 +727,7 @@ self: super: {
owner = "haskell-servant";
repo = "servant";
rev = "v${ver}";
sha256 = "0bwd5dy3crn08dijn06dr3mdsww98kqxfp8v5mvrdws5glvcxdsg";
sha256 = "0kqglih3rv12nmkzxvalhfaaafk4b2irvv9x5xmc48i1ns71y23l";
}}/doc";
buildInputs = with pkgs.pythonPackages; [ sphinx recommonmark sphinx_rtd_theme ];
makeFlags = "html";