Skip to content
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
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: a592a9053de1
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8ca59e0a39a2
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jun 5, 2019

  1. pythonPackages.spglib: add patch fixing darwin/py27 build, enabling a…

    …ssertions on all platforms
    risicle committed Jun 5, 2019

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    b8c8bfa View commit details

Commits on Jun 9, 2019

  1. Merge pull request #62740 from risicle/ris-spglib-assert-fix

    pythonPackages.spglib: add patch fixing darwin/py27 build
    matthewbauer authored Jun 9, 2019

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    8ca59e0 View commit details
Showing with 10 additions and 1 deletion.
  1. +10 −1 pkgs/development/python-modules/spglib/default.nix
11 changes: 10 additions & 1 deletion pkgs/development/python-modules/spglib/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, numpy, nose, pyyaml }:
{ stdenv, buildPythonPackage, fetchPypi, fetchpatch, numpy, nose, pyyaml }:

buildPythonPackage rec {
pname = "spglib";
@@ -9,6 +9,15 @@ buildPythonPackage rec {
sha256 = "15b02b74c0f06179bc3650c43a710a5200abbba387c6eda3105bfd9236041443";
};

patches = [
(fetchpatch {
name = "fix-assertions.patch";
url = https://github.com/atztogo/spglib/commit/d57070831585a6f02dec0a31d25b375ba347798c.patch;
stripLen = 1;
sha256 = "0crmkc498rbrawiy9zbl39qis2nmsbfr4s6kk6k3zhdy8z2ppxw7";
})
];

propagatedBuildInputs = [ numpy ];

checkInputs = [ nose pyyaml ];