git.iko.soy/typeable/nixpkgs
on master help sign in
slurm: 17.11.5 -> 17.11.7, pyslurm: 20180427 -> 20180604 (#42536)

* slurm: 17.11.5 -> 17.11.7, pyslurm: 20180427 -> 20180604 This commit also swaps to use the official repository's github release tags instead of their download site, which only keeps the most recent version with no historical archives. * Document why we don't run tests * Remove dead testing code

commit39f357a83649d742dbde23558cda0fdb09d3c306 authorBenjamin Hipple <bhipple@protonmail.com> dateMon 25 Jun 2018, 08:58 (8 years ago) parent0463c20
2 files changed+16−8
pkgs/development/python-modules/pyslurm/default.nix+6−3 pkgs/servers/computing/slurm/default.nix+10−5
pkgs/development/python-modules/pyslurm/default.nix+6−3
@@ -2,18 +2,21 @@
22
33buildPythonPackage rec {
44 pname = "pyslurm";
5− version = "20180427";
5+ version = "20180604";
66
77 src = fetchFromGitHub {
88 repo = "pyslurm";
99 owner = "PySlurm";
10− rev = "3900e1afac9ffd13c80c57d8c39933d42eb7bad7";
11− sha256 = "1a183ig4sdbc70rx2yyaslyq61wkbsf8cbim1jj0kzrp65nf0vls";
10+ rev = "9dd4817e785fee138a9e29c3d71d2ea44898eedc";
11+ sha256 = "14ivwc27sjnk0z0jpfgyy9bd91m2bhcz11lzp1kk9xn4495i7wvj";
1212 };
1313
1414 buildInputs = [ cython slurm ];
1515 setupPyBuildFlags = [ "--slurm-lib=${slurm}/lib" "--slurm-inc=${slurm.dev}/include" ];
1616
17+ # Test cases need /etc/slurm/slurm.conf and require a working slurm installation
18+ doCheck = false;
19+
1720 meta = with lib; {
1821 homepage = https://github.com/PySlurm/pyslurm;
1922 description = "Python bindings to Slurm";
pkgs/servers/computing/slurm/default.nix+10−5
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkgconfig, libtool, curl
1+{ stdenv, fetchFromGitHub, pkgconfig, libtool, curl
22, python, munge, perl, pam, openssl
33, ncurses, mysql, gtk2, lua, hwloc, numactl
44, readline, freeipmi, libssh2, xorg
@@ -8,11 +8,16 @@
88
99stdenv.mkDerivation rec {
1010 name = "slurm-${version}";
11− version = "17.11.5";
11+ version = "17.11.7";
1212
13− src = fetchurl {
14− url = "https://download.schedmd.com/slurm/${name}.tar.bz2";
15− sha256 = "07ghyyz12k4rksm06xf7dshwp1ndm13zphdbqja99401q4xwbx9r";
13+ # N.B. We use github release tags instead of https://www.schedmd.com/downloads.php
14+ # because the latter does not keep older releases.
15+ src = fetchFromGitHub {
16+ owner = "SchedMD";
17+ repo = "slurm";
18+ # The release tags use - instead of ., and have an extra -1 suffix.
19+ rev = "${builtins.replaceStrings ["."] ["-"] name}-1";
20+ sha256 = "00dgirjd75i1x6pj80avp18hx5gr3dsnh13vbkqbf0iwpd72qyhp";
1621 };
1722
1823 outputs = [ "out" "dev" ];