forked from ustu/students
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault.nix
More file actions
28 lines (22 loc) · 680 Bytes
/
default.nix
File metadata and controls
28 lines (22 loc) · 680 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ pkgs ? import <nixpkgs> {} }:
let
pythonPackages = pkgs.python3Packages;
stdenv = pkgs.stdenv;
python3 = pkgs.python3;
rstcheck = pythonPackages.buildPythonPackage rec {
name = "rstcheck-3.1";
src = pkgs.fetchFromGitHub{
owner = "myint";
repo = "rstcheck";
rev = "v3.1";
sha256 = "08z0phzxvga6m5c9j1vgl7c7lwh2c50mxkdxx08fm9hzabr0iwg6";
};
buildInputs = with pythonPackages; [ pythonPackages.docutils ];
doCheck = false; # some files required by the test seem to be missing
};
in rec {
pyEnv = stdenv.mkDerivation {
name = "Students";
buildInputs = [ stdenv python3 rstcheck pythonPackages.docutils ];
};
}