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: 35ce480d6977
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 909c46b27161
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Oct 13, 2018

  1. Copy the full SHA
    909c46b View commit details
Showing with 35 additions and 0 deletions.
  1. +33 −0 pkgs/development/python-modules/atsim_potentials/default.nix
  2. +2 −0 pkgs/top-level/python-packages.nix
33 changes: 33 additions & 0 deletions pkgs/development/python-modules/atsim_potentials/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pytest
, future
}:

buildPythonPackage rec {
version = "0.2.1";
pname = "atsim.potentials";

src = fetchPypi {
inherit pname version;
sha256 = "2abdec2fb4e8198f4e0e41634ad86625d5356a4a3f1ba1f41568d0697df8f36f";
};

checkInputs = [ pytest ];
propagatedBuildInputs = [ future ];

# tests are not included with release
doCheck = false;

checkPhase = ''
py.test
'';

meta = with stdenv.lib; {
homepage = https://bitbucket.org/mjdr/atsim_potentials;
description = "Provides tools for working with pair and embedded atom method potential models including tabulation routines for DL_POLY and LAMMPS";
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -745,6 +745,8 @@ in {

attrs = callPackage ../development/python-modules/attrs { };

atsim_potentials = callPackage ../development/python-modules/atsim_potentials { };

audioread = callPackage ../development/python-modules/audioread { };

audiotools = callPackage ../development/python-modules/audiotools { };