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: 270415e03430
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 6e4633d2cd33
Choose a head ref
  • 3 commits
  • 3 files changed
  • 2 contributors

Commits on Jun 24, 2019

  1. Verified

    This commit was signed with the committer’s verified signature.
    costrouc Christopher Ostrouchov
    Copy the full SHA
    521b819 View commit details
  2. Verified

    This commit was signed with the committer’s verified signature.
    costrouc Christopher Ostrouchov
    Copy the full SHA
    9a0f64a View commit details
  3. PythonPackages: add rig + sentinel (#63729)

    PythonPackages: add rig + sentinel
    Mic92 authored Jun 24, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    costrouc Christopher Ostrouchov
    Copy the full SHA
    6e4633d View commit details
Showing with 50 additions and 0 deletions.
  1. +29 −0 pkgs/development/python-modules/rig/default.nix
  2. +17 −0 pkgs/development/python-modules/sentinel/default.nix
  3. +4 −0 pkgs/top-level/python-packages.nix
29 changes: 29 additions & 0 deletions pkgs/development/python-modules/rig/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{ lib, buildPythonPackage, fetchPypi
, isPy34, isPy35, isPy27
, numpy, pytz, six, enum-compat, sentinel
}:

buildPythonPackage rec {
pname = "rig";
version = "2.4.1";

src = fetchPypi {
inherit pname version;
sha256 = "5a3896dbde3f291c5dd34769e7329ef5d5e4da34fee53479bd13dc5e5d540b8a";
};

propagatedBuildInputs = [ numpy pytz six sentinel enum-compat ];

# This is the list of officially supported versions. Other versions may work
# as well.
disabled = !(isPy35 || isPy34 || isPy27);

# Test Phase is only supported in development sources.
doCheck = false;

meta = with lib; {
description = "A collection of tools for developing SpiNNaker applications";
homepage = "https://github.com/project-rig/rig";
license = licenses.gpl2;
};
}
17 changes: 17 additions & 0 deletions pkgs/development/python-modules/sentinel/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{ lib, buildPythonPackage, fetchPypi}:

buildPythonPackage rec {
pname = "sentinel";
version = "0.1.1";

src = fetchPypi {
inherit pname version;
sha256 = "c00ba2a4f240ea4c5414059a696d6e128730272cb2c631b2eff42e86da1f89b3";
};

meta = with lib; {
description = "Create sentinel and singleton objects";
homepage = "https://github.com/eddieantonio/sentinel";
license = licenses.mit;
};
}
4 changes: 4 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -917,6 +917,8 @@ in {

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

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

rhpl = disabledIf isPy3k (callPackage ../development/python-modules/rhpl {});

rlp = callPackage ../development/python-modules/rlp { };
@@ -931,6 +933,8 @@ in {

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

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

sentry-sdk = callPackage ../development/python-modules/sentry-sdk {};

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