Fix nixpkgs snapshot for reproducibility
This commit is contained in:
parent
f99aeb1e33
commit
ccb63da564
18
shell.nix
18
shell.nix
|
@ -1,24 +1,26 @@
|
||||||
{ pkgs ? import <nixpkgs> { } }:
|
{ pkgs ? import (builtins.fetchTarball {
|
||||||
|
name = "nixos-unstable-erambler";
|
||||||
|
url = "https://github.com/nixos/nixpkgs/archive/f9d90fdbbfea5ac0349cd7d5a7025a2434dace1c.tar.gz";
|
||||||
|
sha256 = "14lsfish1sxfbz7sqw8nzvc915j7g3asliqa45hjnpyg35cfslwf";
|
||||||
|
}) { } }:
|
||||||
|
|
||||||
let
|
let
|
||||||
my_yaspin = pkgs.python38.pkgs.buildPythonPackage rec {
|
python = pkgs.python38;
|
||||||
|
my_yaspin = python.pkgs.buildPythonPackage rec {
|
||||||
pname = "yaspin";
|
pname = "yaspin";
|
||||||
version = "1.3.0";
|
version = "1.3.0";
|
||||||
|
src = python.pkgs.fetchPypi {
|
||||||
src = pkgs.python38.pkgs.fetchPypi {
|
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 =
|
sha256 =
|
||||||
"cc37d35cc7f796dada6c37430b49e471ffa05d0686e6f8de36f83978b732df54";
|
"cc37d35cc7f796dada6c37430b49e471ffa05d0686e6f8de36f83978b732df54";
|
||||||
};
|
};
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://github.com/pavdmyt/yaspin";
|
homepage = "https://github.com/pavdmyt/yaspin";
|
||||||
description = "Yet Another Terminal Spinner for Python";
|
description = "Yet Another Terminal Spinner for Python";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
python = pkgs.python38.withPackages (py: [
|
pythonWithPackages = python.withPackages (py: [
|
||||||
py.python
|
py.python
|
||||||
|
|
||||||
py.invoke
|
py.invoke
|
||||||
|
@ -42,5 +44,5 @@ let
|
||||||
py.typogrify
|
py.typogrify
|
||||||
]);
|
]);
|
||||||
in pkgs.mkShell {
|
in pkgs.mkShell {
|
||||||
buildInputs = with pkgs; [ python zeromq lessc nodejs-14_x yarn ];
|
buildInputs = with pkgs; [ pythonWithPackages zeromq lessc nodejs-14_x yarn ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue