Created
June 30, 2017 00:59
-
-
Save infinisil/5294c4672f742c451c84734e00fb8a71 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| with import <nixpkgs> {}; | |
| stdenv.mkDerivation { | |
| name = "test"; | |
| src = fetchFromGitHub { | |
| owner = "cs50"; | |
| repo = "libcs50"; | |
| rev = "v8.0.3"; | |
| sha256 = "08fj1ckbv6q8fsyv3x17y73sfnk0x4b3dlfl35637srn36zfk28n"; | |
| }; | |
| buildInputs = [ | |
| asciidoctor | |
| ]; | |
| buildPhase = '' | |
| make build | |
| make hack | |
| ''; | |
| installPhase = '' | |
| make install DESTDIR=$out | |
| ''; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment