mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
python3Packages.nmigen-soc: init at unstable-2020-02-08
This commit is contained in:
parent
62d2267a9f
commit
b514cc33aa
35
pkgs/development/python-modules/nmigen-soc/default.nix
Normal file
35
pkgs/development/python-modules/nmigen-soc/default.nix
Normal file
@ -0,0 +1,35 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, nmigen
|
||||
, setuptools
|
||||
, setuptools_scm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nmigen-soc";
|
||||
version = "unstable-2020-02-08";
|
||||
# python setup.py --version
|
||||
realVersion = "0.1.dev24+g${lib.substring 0 7 src.rev}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nmigen";
|
||||
repo = "nmigen-soc";
|
||||
rev = "f1b009c7e075bca461d10ec963a7eaa3bf4dfc14";
|
||||
sha256 = "04kjaq9qp6ac3h0r1wlb4jyz56bb52l1rikmz1x7azvnr10xhrad";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools_scm ];
|
||||
propagatedBuildInputs = [ setuptools nmigen ];
|
||||
|
||||
preBuild = ''
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION="${realVersion}"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "System on Chip toolkit for nMigen";
|
||||
homepage = https://github.com/nmigen/nmigen-soc;
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ emily ];
|
||||
};
|
||||
}
|
@ -2928,6 +2928,8 @@ in {
|
||||
|
||||
nmigen-boards = callPackage ../development/python-modules/nmigen-boards { };
|
||||
|
||||
nmigen-soc = callPackage ../development/python-modules/nmigen-soc { };
|
||||
|
||||
nxt-python = callPackage ../development/python-modules/nxt-python { };
|
||||
|
||||
odfpy = callPackage ../development/python-modules/odfpy { };
|
||||
|
Loading…
Reference in New Issue
Block a user