1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00

Remove explicit licenses import from python package sasmodels

The licenses variable was being required by sasmoels, but licenses was
already a child of the lib parameter and was redundant.
This commit is contained in:
Adam Washington 2018-03-21 13:32:30 +00:00
parent 73ed353d27
commit 609374523c
No known key found for this signature in database
GPG key ID: 0D2B93AB0C87BAF1
2 changed files with 3 additions and 5 deletions

View file

@ -1,4 +1,4 @@
{lib, fetchgit, licenses, buildPythonPackage, pytest, numpy, scipy, matplotlib, docutils}:
{lib, fetchgit, buildPythonPackage, pytest, numpy, scipy, matplotlib, docutils}:
buildPythonPackage rec {
name = "sasmodels-${version}";
@ -17,7 +17,7 @@ buildPythonPackage rec {
meta = {
description = "Library of small angle scattering models";
homepage = http://sasview.org;
license = licenses.bsd3;
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ rprospero ];
};
}

View file

@ -15321,9 +15321,7 @@ in {
sampledata = callPackage ../development/python-modules/sampledata { };
sasmodels = callPackage ../development/python-modules/sasmodels {
inherit licenses;
};
sasmodels = callPackage ../development/python-modules/sasmodels { };
scapy = callPackage ../development/python-modules/scapy { };