Created
June 12, 2018 20:57
-
-
Save CharlesHD/e05a181e1618d5396c5585bf38c29e39 to your computer and use it in GitHub Desktop.
dozenal nix expression
This file contains 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
let | |
pkgs = import <nixpkgs> {}; | |
inherit (pkgs) stdenv fetchurl ncurses; | |
hdate = stdenv.mkDerivation { | |
name = "hdate"; | |
src = fetchurl { | |
url = https://sourceforge.net/projects/libhdate/files/libhdate/libhdate-1.6.02/libhdate-1.6.02.tar.bz2; | |
sha256 = "3c930a8deb57c01896dc37f0d7804e5a330ee8e88c4ff610b71f9d2b02c17762"; | |
}; | |
}; | |
dozenal = stdenv.mkDerivation { | |
name = "dozenal"; | |
src = fetchurl { | |
url = https://github.com/dgoodmaniii/dozenal/archive/v12010904.tar.gz; | |
sha256 = "5bdd6e348b9f06fdd34f7f1c1266439d9cd8098cdf61851a1550fa076327a3ae"; | |
}; | |
makeFlags = [ "prefix=$(out)" "XFORMS_FLAGS=-UXFORMS"]; | |
preBuild = "cd dozenal"; | |
buildInputs = [ ncurses hdate pkgs.lua5_2 ]; | |
}; | |
in dozenal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment