-
-
Save matthew-piziak/74130c8ec726f0840c7ff2dab77f868b to your computer and use it in GitHub Desktop.
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 | |
pkgSource = https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz; | |
pkgTarball = fetchTarball pkgSource; | |
pkgs = import pkgTarball {}; | |
pymacs = pkgs.python37.pkgs.buildPythonPackage rec { | |
pname = "Pymacs"; | |
version = "0.25"; | |
src = pkgs.python37.pkgs.fetchPypi { | |
inherit pname version; | |
sha256 = "43c2c9e5e7a16b6c88ba3088a9bfc82f7db8e13378be7c78d6c14a5f8ed05afd"; | |
}; | |
doCheck = false; | |
meta = with pkgs.python37.pkgs.lib; { | |
homepage = https://github.com/bendikro/Pymacs; | |
description = "Pymacs for Python 2 and 3"; | |
}; | |
}; | |
leo-python = pkgs.python37.withPackages(ps: with ps; [ pip pymacs ]); | |
in | |
pkgs.stdenv.mkDerivation { | |
name = "leo"; | |
buildInputs = [ leo-python ]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment